From 59cb0e08d06b00065e3c6069ae7236db40e9b2e8 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 18 Sep 2019 09:38:12 +0200 Subject: backup.conf: more sane defaults --- backup.conf | 16 ++++++++-------- 1 file 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() { -- cgit v1.2.3-70-g09d2