Allows to create and delete Aurora DB snapshots based on tags.
rdsbkp.py action tag expiration
action Must be backup (take snapshots) or cleanup (delete old snapshots)
tag DBCluster tag, can't have spaces or tabs
expiration Number of days used to mark snapshots as expired and delete them (Default: 30)
- boto3 (pip install boto3)
- AWS credentials configured (More information: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html)
- This script works just with Aurora DB clusters
- AWS CLI has a limit of 100 entries per command so the script is not able to list more than 100 snapshots per cluster