Skip to content

Restoring and deleting snapshots to new rds instance for ad hoc development db with (nearly) live data

License

Notifications You must be signed in to change notification settings

truffls/rds_snapshot_restore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rds_snapshot_restore

Restoring and deleting snapshots to new rds instance for ad hoc development db with (nearly) live data

Picks automatically the most recent snapshot from specified rds-instance to restore this snapshot to a new instance. Either choose name on execution or configure for easier access. When done with work, easily delete the rds-instance again with one command.

To prevent errors the tool prompts before every execution for confirmation!

Requirements

Configuration

Configuration lies in ~/.rds_shapshoot_restore/config and looks like the following snippet (defaults):

[DEFAULT]
db_instance_class = db.t2.medium
db_identifier_instance = test-db-automated
db_identifier_filter = None
automated_only = True

Meaning:

Disclaimer

This tool is for development purposes and only manually tested. I do not take responsibility for ANY errors when using this tool.

This tool normaly works in close perimeter of your live data, I encurage you to read the source to assess the risk for your usecase.

About

Restoring and deleting snapshots to new rds instance for ad hoc development db with (nearly) live data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages