https://github.com/tappleby/innobackupex-s3
Utility scripts for encrypted incremental backups to amazon s3 (using innobackupex)
https://github.com/tappleby/innobackupex-s3
Last synced: about 2 months ago
JSON representation
Utility scripts for encrypted incremental backups to amazon s3 (using innobackupex)
- Host: GitHub
- URL: https://github.com/tappleby/innobackupex-s3
- Owner: tappleby
- License: mit
- Created: 2015-06-09T02:11:59.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-22T04:31:53.000Z (almost 10 years ago)
- Last Synced: 2024-12-30T12:45:42.125Z (5 months ago)
- Language: Shell
- Size: 145 KB
- Stars: 5
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# innobackupex-s3
Utility scripts for encrypted incremental backups to amazon s3 based on [Streaming MariaDB backups in the cloud](https://mariadb.com/blog/streaming-mariadb-backups-cloud).
The xbstream format is used for easy to manage backups.
## Scripts### innobackupex-s3-backup
Handles the incremental backups to amazon s3, 1 week of backups is also kept locally on the server.
Required environment variables:
- **S3_BUCKET**: amazon s3 bucket backups will be uploaded
- **AWS_ACCESS_KEY_ID**: amazon s3 access key
- **AWS_SECRET_ACCESS_KEY**: amazon s3 access key secretOptional environment variables:
- **BACKUPS_DIR**: full path where mysql backups will be stored on the server.
- **KEY_FILE**: key file used for encrypted backups. use `innobackupex-s3-genkey` to generate key.### innobackupex-s3-restore-prepare
prepares a directory containing encrypted xbstream backups for restore. expects the first xbstream file in the directory to be a full backup.
Optional environment variables:
- **KEY_FILE**: key file used for encrypted backups. use `innobackupex-s3-genkey` to generate key.
### innobackupex-s3-genkey
Generates a key file for use with encrypted backups.
Optional environment variables:
- **KEY_FILE**: override the default output file location.