lats

command module
v0.0.0-...-31e3a40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 1 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL