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: |
Michael KutĂ˝ | 4896b92 | 2016-10-23 22:52:40 +0200 | [diff] [blame] | 33 | engine: dup |
| 34 | url: s3+http://bucket-name/folder-name |
| 35 | auth: |
| 36 | awsaccesskeyid: awsaccesskeyid |
| 37 | awssecretaccesskey: awssecretaccesskey |
Filip Pytloun | 311d79c | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 38 | |
jan kaufman | c1b2159 | 2016-01-28 14:03:03 +0100 | [diff] [blame] | 39 | Backup client with webdav target |
| 40 | |
jan kaufman | d631551 | 2016-02-03 21:19:09 +0100 | [diff] [blame] | 41 | .. code-block:: yaml |
| 42 | |
jan kaufman | c1b2159 | 2016-01-28 14:03:03 +0100 | [diff] [blame] | 43 | backupninja: |
| 44 | client: |
| 45 | enabled: true |
| 46 | target: |
Filip Pytloun | 7306f70 | 2016-02-05 17:31:18 +0100 | [diff] [blame] | 47 | engine: dup |
Filip Pytloun | 6ce66eb | 2016-02-05 17:03:00 +0100 | [diff] [blame] | 48 | url: webdavs://backup.cloud.example.com/box.example.com/ |
jan kaufman | 0b9fdb5 | 2016-02-04 15:55:08 +0100 | [diff] [blame] | 49 | auth: |
| 50 | gss: |
| 51 | principal: host/${linux:network:fqdn} |
| 52 | keytab: /etc/krb5.keytab |
jan kaufman | c1b2159 | 2016-01-28 14:03:03 +0100 | [diff] [blame] | 53 | |
Filip Pytloun | 311d79c | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 54 | Backup server rsync/rdiff |
| 55 | |
jan kaufman | d631551 | 2016-02-03 21:19:09 +0100 | [diff] [blame] | 56 | .. code-block:: yaml |
| 57 | |
Filip Pytloun | 311d79c | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 58 | backupninja: |
| 59 | server: |
| 60 | enabled: true |
| 61 | rdiff: true |
| 62 | keys: |
| 63 | - client1.domain.com |
| 64 | |
| 65 | Read 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 Pytloun | 68f73d3 | 2017-02-02 13:02:03 +0100 | [diff] [blame^] | 73 | |
| 74 | Documentation and Bugs |
| 75 | ====================== |
| 76 | |
| 77 | To learn how to install and update salt-formulas, consult the documentation |
| 78 | available online at: |
| 79 | |
| 80 | http://salt-formulas.readthedocs.io/ |
| 81 | |
| 82 | In the unfortunate event that bugs are discovered, they should be reported to |
| 83 | the appropriate issue tracker. Use Github issue tracker for specific salt |
| 84 | formula: |
| 85 | |
| 86 | https://github.com/salt-formulas/salt-formula-backupninja/issues |
| 87 | |
| 88 | For feature requests, bug reports or blueprints affecting entire ecosystem, |
| 89 | use Launchpad salt-formulas project: |
| 90 | |
| 91 | https://launchpad.net/salt-formulas |
| 92 | |
| 93 | You can also join salt-formulas-users team and subscribe to mailing list: |
| 94 | |
| 95 | https://launchpad.net/~salt-formulas-users |
| 96 | |
| 97 | Developers wishing to work on the salt-formulas projects should always base |
| 98 | their work on master branch and submit pull request against specific formula. |
| 99 | |
| 100 | https://github.com/salt-formulas/salt-formula-backupninja |
| 101 | |
| 102 | Any questions or feedback is always welcome so feel free to join our IRC |
| 103 | channel: |
| 104 | |
| 105 | #salt-formulas @ irc.freenode.net |