summaryrefslogtreecommitdiff
path: root/backup.conf
diff options
context:
space:
mode:
Diffstat (limited to 'backup.conf')
-rw-r--r--backup.conf16
1 files changed, 8 insertions, 8 deletions
diff --git a/backup.conf b/backup.conf
index fd2822e..3d3350f 100644
--- a/backup.conf
+++ b/backup.conf
@@ -4,15 +4,15 @@
# files/paths to exclude from backup (via --exclude)
excludes=(
- "path/to/exclude/from/backup"
- "yet/another/one"
+ '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"
+backups['directBackup']='/path/to/destination/ user@source:path'
+backups['proxiedBackup']='/path/to/destination/ user@source:path proxy_user@ssh_host'
# which directories must be mounted before we can run successfully
neededMounts=('/data')
@@ -26,20 +26,20 @@ outdatedSeldomLimit=$[3*7*24*60*60]
# list of backups which should be made less often
seldomBackups=(
- "slowBackup"
+ 'slowBackup'
)
# number of days that should pass between seldom backups
seldomness=14
# subdirectories which should be appended to the parent directory in the report
-recognSubdirRegex="home\|boot\|root\|erich"
+recognSubdirRegex='boot\|crypt\|erich\|home\|neu\|root\|var'
# directory for caching valuable information in backup-statistics
-cacheDir="/path/to/cache/directory"
+cacheDir='/var/cache/backup'
# timeout for `du` in backup-progress [seconds]
-du_timeout=10
+du_timeout=30
# hook to execute before connecting via ssh or rsync
preConnectHook() {