Skip to content

jrottersman/lats

Repository files navigation

Lats

WARNING: Still in rapid development and not suited for production use

Features

  • 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

Development plan

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

  1. Copying DB snapshots between regions
  2. Making DB snapshots immutable using AWS Backup
  3. Partial Restores
  4. Migration of IAM roles and DB Parameter Groups

Running Lats

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 commands

  • 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}

Contributing

  1. Fork the repository and clone it
  2. Have Go and the golang AWS SDK installed

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published