backups

Basic tool to backup database servers.

Installation

pip install --upgrade backups
    

Setup

Create a /etc/backups/backups.yaml file with content similar to:

backups:
      acme.com:
        connection:
          type:                   mysql
          host:                   localhost
          username:               backup
          password:               password
        options:
          encryption:             secret
        s3:
          bucket:                 acme-backup-databases
          path:                   live/mysql/<suffix>
    

Now run it with

backup-mysql acme.com
    

Build status