https://github.com/jamf/aurorasnapshot
Aurora Cluster snapshot handler (Allows to create and delete Aurora DB Snapshots based in tags)
https://github.com/jamf/aurorasnapshot
Last synced: over 1 year ago
JSON representation
Aurora Cluster snapshot handler (Allows to create and delete Aurora DB Snapshots based in tags)
- Host: GitHub
- URL: https://github.com/jamf/aurorasnapshot
- Owner: jamf
- License: mit
- Created: 2020-07-08T14:53:25.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-09T10:56:41.000Z (almost 6 years ago)
- Last Synced: 2025-01-31T07:29:56.580Z (over 1 year ago)
- Language: Python
- Size: 23.4 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS Aurora Cluster Snapshot Handler
Allows to create and delete Aurora DB snapshots based on tags.
## USAGE
```
rdsbkp.py action tag expiration
```
## Required arguments:
```
action Must be backup (take snapshots) or cleanup (delete old snapshots)
tag DBCluster tag, can't have spaces or tabs
```
## Optional arguments:
```
expiration Number of days used to mark snapshots as expired and delete them (Default: 30)
```
## Requirements:
- boto3 (pip install boto3)
- AWS credentials configured (More information: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html)
## Limitations:
- 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