TwinDB Backup tool for files, MySQL et al.
- Free software: Apache Software License 2.0
- Documentation: https://twindb-backup.readthedocs.io.
twindb-backup takes backups of:
- Files and directories
- MySQL with XtraBackup
twindb-backup store backups on:
- Remote SSH server
- Amazon sS3
- Optionally save local copy
Other features:
- Retention policy defines how many hourly/daily/weekly/monthly/yearly copies to keep
- Separate retention policy for remote and local backup copies
- Enables/disables
wsrep_desync
for Percona Cluster backups - Email notifications
- cron configuration comes with a package
twindb-backup is distributed via package repositories. Once the repository for your operating system is configured, install the twindb-backup
package.
On CentOS and RedHat
# curl -s https://packagecloud.io/install/repositories/twindb/main/script.rpm.sh | sudo bash
# yum install twindb-backup
On Debian and Ubuntu
# curl -s https://packagecloud.io/install/repositories/twindb/main/script.deb.sh | sudo bash
# apt-get install twindb-backup
Configuration is stored in /etc/twindb/twindb-backup.cfg
. Configuration options are self-explanatory. We will describe specifics in the wiki page if any questions arrive.
The rpm package installs a cron job, so no additional configuration is required.
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.