Tool used to backup and restore things. Currently only supports RDS and MySQL databases.
Run a one-time backup/restore:
./backup -config </path/to/your/config.yaml>
Minimal AWS IAM permissions required to perform RDS Snapshot backup
---
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "RDSBackup",
"Effect": "Allow",
"Action": [
"rds:DescribeDBInstances",
"rds:CopyDBSnapshot",
"rds:DescribeDBSnapshots",
"rds:DescribeDBSnapshotAttributes",
"rds:DeleteDBSnapshot",
"rds:CreateDBSnapshot",
"rds:ModifyDBSnapshotAttribute",
"kms:DescribeKey",
"kms:CreateGrant"
],
"Resource": "*"
}
]
}
mysql_config_editor set --host=<host> --port=3306 --login-path=<name> --user=<user> --password
<you will be prompted for password>
Basically above command will create credentials file which you can refer to in order to connect to MySQL.
Support the following backup sources:
- Elasticsearch
- PostgreSQL
- Redis
- RabbitMQ ..