TwinDB Backup
Python Ruby Makefile Shell Puppet
Latest commit af34bed Jan 15, 2017 @ovaistariq ovaistariq committed with akuzminsky Feature/readme (#18)
* Add instructions for debian/ubuntu systems

* missing newline

README.rst

TwinDB Backup

Documentation Status

TwinDB Backup tool for files, MySQL et al.

Features

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

How do I get set up?

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

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.

Credits

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