Filip Pytloun | 311d79c | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 1 | |
| 2 | =========== |
| 3 | Backupninja |
| 4 | =========== |
| 5 | |
| 6 | Backupninja allows you to coordinate system backup by dropping a few simple configuration files into /etc/backup.d/. Most programs you might use for making backups don't have their own configuration file format. |
| 7 | |
| 8 | Backupninja provides a centralized way to configure and schedule many different backup utilities. It allows for secure, remote, incremental filesytem backup (via rdiff-backup), compressed incremental data, backup system and hardware info, encrypted remote backups (via duplicity), safe backup of MySQL/PostgreSQL databases, subversion or trac repositories, burn CD/DVDs or create ISOs, incremental rsync with hardlinking. |
| 9 | |
| 10 | Sample pillars |
| 11 | ============== |
| 12 | |
| 13 | Backup client with ssh/rsync remote target |
| 14 | |
jan kaufman | d631551 | 2016-02-03 21:19:09 +0100 | [diff] [blame] | 15 | .. code-block:: yaml |
| 16 | |
Filip Pytloun | 311d79c | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 17 | backupninja: |
| 18 | client: |
| 19 | enabled: true |
| 20 | target: |
| 21 | engine: rsync |
| 22 | host: 10.10.10.208 |
| 23 | user: backupninja |
| 24 | |
| 25 | Backup client with s3 remote target |
| 26 | |
jan kaufman | d631551 | 2016-02-03 21:19:09 +0100 | [diff] [blame] | 27 | .. code-block:: yaml |
| 28 | |
Filip Pytloun | 311d79c | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 29 | backupninja: |
| 30 | client: |
| 31 | enabled: true |
| 32 | target: |
| 33 | engine: s3 |
| 34 | host: s3.domain.com |
| 35 | bucket: bucketname |
| 36 | |
jan kaufman | c1b2159 | 2016-01-28 14:03:03 +0100 | [diff] [blame] | 37 | Backup client with webdav target |
| 38 | |
jan kaufman | d631551 | 2016-02-03 21:19:09 +0100 | [diff] [blame] | 39 | .. code-block:: yaml |
| 40 | |
jan kaufman | c1b2159 | 2016-01-28 14:03:03 +0100 | [diff] [blame] | 41 | backupninja: |
| 42 | client: |
| 43 | enabled: true |
| 44 | target: |
Filip Pytloun | 7306f70 | 2016-02-05 17:31:18 +0100 | [diff] [blame] | 45 | engine: dup |
Filip Pytloun | 6ce66eb | 2016-02-05 17:03:00 +0100 | [diff] [blame] | 46 | url: webdavs://backup.cloud.example.com/box.example.com/ |
jan kaufman | 0b9fdb5 | 2016-02-04 15:55:08 +0100 | [diff] [blame] | 47 | auth: |
| 48 | gss: |
| 49 | principal: host/${linux:network:fqdn} |
| 50 | keytab: /etc/krb5.keytab |
jan kaufman | c1b2159 | 2016-01-28 14:03:03 +0100 | [diff] [blame] | 51 | |
Filip Pytloun | 311d79c | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 52 | Backup server rsync/rdiff |
| 53 | |
jan kaufman | d631551 | 2016-02-03 21:19:09 +0100 | [diff] [blame] | 54 | .. code-block:: yaml |
| 55 | |
Filip Pytloun | 311d79c | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 56 | backupninja: |
| 57 | server: |
| 58 | enabled: true |
| 59 | rdiff: true |
| 60 | keys: |
| 61 | - client1.domain.com |
| 62 | |
| 63 | Read more |
| 64 | ========= |
| 65 | |
| 66 | * https://labs.riseup.net/code/projects/backupninja/wiki/Configuration |
| 67 | * http://www.debian-administration.org/articles/351 |
| 68 | * http://duncanlock.net/blog/2013/08/27/comprehensive-linux-backups-with-etckeeper-backupninja/ |
| 69 | * https://github.com/riseuplabs/puppet-backupninja |
| 70 | * http://www.ushills.co.uk/2008/02/backup-with-backupninja.html |