Skip to content

Aurora Cluster snapshot handler (Allows to create and delete Aurora DB Snapshots based in tags)

License

Notifications You must be signed in to change notification settings

jamf/aurorasnapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:

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

About

Aurora Cluster snapshot handler (Allows to create and delete Aurora DB Snapshots based in tags)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages