blob: e434f3ef61465ecf30b95daa4bebce80cb6e48ce [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
Filip Pytloun68f73d32017-02-02 13:02:03 +010073
74Documentation and Bugs
75======================
76
77To learn how to install and update salt-formulas, consult the documentation
78available online at:
79
80 http://salt-formulas.readthedocs.io/
81
82In the unfortunate event that bugs are discovered, they should be reported to
83the appropriate issue tracker. Use Github issue tracker for specific salt
84formula:
85
86 https://github.com/salt-formulas/salt-formula-backupninja/issues
87
88For feature requests, bug reports or blueprints affecting entire ecosystem,
89use Launchpad salt-formulas project:
90
91 https://launchpad.net/salt-formulas
92
93You can also join salt-formulas-users team and subscribe to mailing list:
94
95 https://launchpad.net/~salt-formulas-users
96
97Developers wishing to work on the salt-formulas projects should always base
98their work on master branch and submit pull request against specific formula.
99
100 https://github.com/salt-formulas/salt-formula-backupninja
101
102Any questions or feedback is always welcome so feel free to join our IRC
103channel:
104
105 #salt-formulas @ irc.freenode.net