summaryrefslogtreecommitdiff
path: root/backup.conf
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-01 09:40:29 +0200
committerErich Eckner <git@eckner.net>2016-04-01 09:40:29 +0200
commit61998f2eaabadd4fa531d97e9a42373ff9bc6fbc (patch)
tree9e7afcb83f4cc30b3aae146a3b7de02415916183 /backup.conf
downloadhardlinkedBackups-61998f2eaabadd4fa531d97e9a42373ff9bc6fbc.tar.xz
Initial Commit
Diffstat (limited to 'backup.conf')
-rw-r--r--backup.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/backup.conf b/backup.conf
new file mode 100644
index 0000000..0b65488
--- /dev/null
+++ b/backup.conf
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+# config file for hardlinkedBackups
+
+# files/paths to exclude from backup (via --exclude)
+excludes=(
+ "path/to/exclude/from/backup"
+ "yet/another/one"
+)
+
+# definition of backups to do
+declare -A backups
+
+backups["directBackup"]="/path/to/destination/ user@source:path"
+backups["proxiedBackup"]="/path/to/destination/ user@source:path proxy_user@ssh_host"
+
+# how long to wait for destination directories to appear in lastBackups [seconds]
+maxWait=100
+
+# how old may backups be before we warn about outdated ones [seconds]
+outdatedLimit=$[2*24*60*60]
+
+# subdirectories which should be appended to the parent directory in the report
+recognSubdirRegex="home\|boot\|root\|erich"