blob: d2d36a2ef8b5c2d45c68cfb7bc58523d9b466176 [file] [log] [blame]
Filip Pytloun311d79c2015-10-06 16:28:31 +02001
2===========
3Backupninja
4===========
5
6Backupninja 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
8Backupninja 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
10Sample pillars
11==============
12
13Backup client with ssh/rsync remote target
14
jan kaufmand6315512016-02-03 21:19:09 +010015.. code-block:: yaml
16
Filip Pytloun311d79c2015-10-06 16:28:31 +020017 backupninja:
18 client:
19 enabled: true
20 target:
21 engine: rsync
22 host: 10.10.10.208
23 user: backupninja
24
25Backup client with s3 remote target
26
jan kaufmand6315512016-02-03 21:19:09 +010027.. code-block:: yaml
28
Filip Pytloun311d79c2015-10-06 16:28:31 +020029 backupninja:
30 client:
31 enabled: true
32 target:
33 engine: s3
34 host: s3.domain.com
35 bucket: bucketname
36
jan kaufmanc1b21592016-01-28 14:03:03 +010037Backup client with webdav target
38
jan kaufmand6315512016-02-03 21:19:09 +010039.. code-block:: yaml
40
jan kaufmanc1b21592016-01-28 14:03:03 +010041 backupninja:
42 client:
43 enabled: true
44 target:
Filip Pytloun7306f702016-02-05 17:31:18 +010045 engine: dup
Filip Pytloun6ce66eb2016-02-05 17:03:00 +010046 url: webdavs://backup.cloud.example.com/box.example.com/
jan kaufman0b9fdb52016-02-04 15:55:08 +010047 auth:
48 gss:
49 principal: host/${linux:network:fqdn}
50 keytab: /etc/krb5.keytab
jan kaufmanc1b21592016-01-28 14:03:03 +010051
Filip Pytloun311d79c2015-10-06 16:28:31 +020052Backup server rsync/rdiff
53
jan kaufmand6315512016-02-03 21:19:09 +010054.. code-block:: yaml
55
Filip Pytloun311d79c2015-10-06 16:28:31 +020056 backupninja:
57 server:
58 enabled: true
59 rdiff: true
60 keys:
61 - client1.domain.com
62
63Read 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