aboutsummaryrefslogtreecommitdiffstats
path: root/main.cfg
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2017-03-18 23:49:41 +0100
committerlookshe <github@lookshe.org>2017-03-18 23:49:41 +0100
commit7d20bbf82b91017ff79cbb5977a3d32019672ffb (patch)
treea6bedaef9aca020268ec8bfdab462e46597ac475 /main.cfg
parent2f602062be06050a1a1b8010dd59b0072833cf27 (diff)
modified example configs to fit to borg backup
rotation and incremental is no longer needed due to use of borg backup removing old backups can be done with "borg prune" which will perhaps be added later with some configuration
Diffstat (limited to 'main.cfg')
-rw-r--r--main.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/main.cfg b/main.cfg
index f12cbb2..1d2de91 100644
--- a/main.cfg
+++ b/main.cfg
@@ -6,4 +6,12 @@ backupdir_local=/LOCAL/PATH/TO/MOUNT/POINT
logfile=$confdir/logfile.log
keyfile=/PATH/TO/KEYFILE/id_rsa
userserver="backupuser@backup.server"
+borg_local_path=/usr/local/sbin/borg
+borg_remote_path=/usr/local/sbin/borg
+# for borg specific settings take a look at its documentation https://borgbackup.readthedocs.io/
+borg_compression=zlib,9
+borg_encryption=none
+export BORG_PASSPHRASE="passphrase"
+export BORG_RSH="/usr/bin/ssh -i $keyfile"
+default_timestamp="%Y-%m-%d"
[/general]