Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.47 KB

File metadata and controls

43 lines (30 loc) · 1.47 KB

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.