Borg backups » History » Version 1
Jamila Khan, 05/11/2017 12:40 PM
1 | 1 | Jamila Khan | h1. Borg backups |
---|---|---|---|
2 | |||
3 | This is documentation and scripts for using Borg backups with backupninja. This relies heavily on the work of "Jon Goldberg":https://github.com/PalanteJon, "Benzhaomin":https://0xacab.org/Benzhaomin, and "Guillaume Subiron":https://github.com/maethor. |
||
4 | |||
5 | The files borg, borglocal, borg.helper, and borglocal.helper should be placed in /usr/share/backupninja, permissions 644, owned by root:root. |
||
6 | The files 70-76 are example backupninja jobs, which would go in /etc/backup.d, permissions 600, owned by root:root. |
||
7 | |||
8 | Job 70 is for backing up to a usb drive, which will be mounted at the beginning of every job and unmounted at the end. |
||
9 | Job 71 is for backing up to either a local folder or a folder accessible by ssh on a remote host. |
||
10 | Jobs 75 and 76 are for checking the viability of the job 70 and 71 backups respectively. |
||
11 | |||
12 | Please change the passphrase variable in these jobs to something other than "PASSPHRASE", or leave it empty, which will turn off encryption. |
||
13 | |||
14 | |||
15 | documentation: |
||
16 | https://0xacab.org/riseuplabs/backupninja/merge_requests/1 |
||
17 | https://labs.riseup.net/code/projects/backupninja |
||
18 | https://borgbackup.readthedocs.io/en/stable/ |