TwinDB Backup Documentation Status

TwinDB Backup is a multipurpose tool for backing up MySQL and file system. It can store backup copies on a remote SSH server, Amazon S3 or Google Cloud Storage.

The tool can easily restore the backup copies.

Read full documentation on


twindb-backup key features:

  • Files/directories backups
  • MySQL backups
  • Incremental MySQL backups
  • Encrypting backup copies

twindb-backup store backups on:

  • Remote SSH server
  • Amazon S3
  • Google Cloud Storage
  • 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
  • Supports non-impacting Percona XtraDB Cluster backups
  • Email notifications
  • cron configuration comes with a package

How do I get set up?

twindb-backup is distributed via package repositories. See installation instruction on Once the repository for your operating system is configured, install the twindb-backup package.

On CentOS and RedHat

# curl -s | sudo bash
# yum install twindb-backup

On Debian and Ubuntu

# curl -s | sudo bash
# apt-get install twindb-backup


Configuration is stored in /etc/twindb/twindb-backup.cfg. See for more details.


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.