- Snapshot creation for RDS databases
- Copy Snapshots, parameter groups and option groups to another region
- restore snapshot and create new parameter group and option groups for the restored snapshot
Lats is a tool to simplify disaster recovery and multiregion movement in AWS. It's currently in heavy development and is working on getting RDS operations fully going. In the near future it will allow
- Copying DB snapshots between regions
- Making DB snapshots immutable using AWS Backup
- Partial Restores
- Migration of IAM roles and DB Parameter Groups
to build lats run go run .
Add lats to your path
The first time you run lats you will need to run ./lats init
this will prompt you for your aws regions and create a state file entry for running lats.
The state file entry are json files however do not edit them manually or lats will fail to resotre snapshots
- lats init
- lats CreateRDSSnapshot --database-name {dbName} --snapshot-name {snapshotName}
- lats CopyRDSSnapshot --snapshot {origName} --new-snapshot {newSnapshotName} --kms-key {kms-key-in-backup-region}
- lats restoreRDSSnapshot --snapshot-name {name} --db-name {db-restored} --region {region} --subnet-group {subnet-group-name}
- Fork the repository and clone it
- Have Go and the golang AWS SDK installed