blob: 0ec286ef32f3f18cfa158266020d47eaa6b581cf [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:
Michael Kutý4896b922016-10-23 22:52:40 +020033 engine: dup
34 url: s3+http://bucket-name/folder-name
35 auth:
36 awsaccesskeyid: awsaccesskeyid
37 awssecretaccesskey: awssecretaccesskey
Filip Pytloun311d79c2015-10-06 16:28:31 +020038
jan kaufmanc1b21592016-01-28 14:03:03 +010039Backup client with webdav target
40
jan kaufmand6315512016-02-03 21:19:09 +010041.. code-block:: yaml
42
jan kaufmanc1b21592016-01-28 14:03:03 +010043 backupninja:
44 client:
45 enabled: true
46 target:
Filip Pytloun7306f702016-02-05 17:31:18 +010047 engine: dup
Filip Pytloun6ce66eb2016-02-05 17:03:00 +010048 url: webdavs://backup.cloud.example.com/box.example.com/
jan kaufman0b9fdb52016-02-04 15:55:08 +010049 auth:
50 gss:
51 principal: host/${linux:network:fqdn}
52 keytab: /etc/krb5.keytab
jan kaufmanc1b21592016-01-28 14:03:03 +010053
Filip Pytloun311d79c2015-10-06 16:28:31 +020054Backup server rsync/rdiff
55
jan kaufmand6315512016-02-03 21:19:09 +010056.. code-block:: yaml
57
Filip Pytloun311d79c2015-10-06 16:28:31 +020058 backupninja:
59 server:
60 enabled: true
61 rdiff: true
62 keys:
63 - client1.domain.com
64
65Read more
66=========
67
68* https://labs.riseup.net/code/projects/backupninja/wiki/Configuration
69* http://www.debian-administration.org/articles/351
70* http://duncanlock.net/blog/2013/08/27/comprehensive-linux-backups-with-etckeeper-backupninja/
71* https://github.com/riseuplabs/puppet-backupninja
72* http://www.ushills.co.uk/2008/02/backup-with-backupninja.html