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: |
jan kaufman | 323a03f | 2016-02-04 13:59:35 +0100 | [diff] [blame] | 45 | engine: dup |
jan kaufman | 8cc741c | 2016-02-04 14:32:27 +0100 | [diff] [blame^] | 46 | url: webdavs://user@backup.cloud/example.com/box.example.com/ |
jan kaufman | c1b2159 | 2016-01-28 14:03:03 +0100 | [diff] [blame] | 47 | auth: gss |
| 48 | |
Filip Pytloun | 311d79c | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 49 | Backup server rsync/rdiff |
| 50 | |
jan kaufman | d631551 | 2016-02-03 21:19:09 +0100 | [diff] [blame] | 51 | .. code-block:: yaml |
| 52 | |
Filip Pytloun | 311d79c | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 53 | backupninja: |
| 54 | server: |
| 55 | enabled: true |
| 56 | rdiff: true |
| 57 | keys: |
| 58 | - client1.domain.com |
| 59 | |
| 60 | Read more |
| 61 | ========= |
| 62 | |
| 63 | * https://labs.riseup.net/code/projects/backupninja/wiki/Configuration |
| 64 | * http://www.debian-administration.org/articles/351 |
| 65 | * http://duncanlock.net/blog/2013/08/27/comprehensive-linux-backups-with-etckeeper-backupninja/ |
| 66 | * https://github.com/riseuplabs/puppet-backupninja |
| 67 | * http://www.ushills.co.uk/2008/02/backup-with-backupninja.html |