summaryrefslogtreecommitdiff
path: root/backup.conf
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-18 09:38:12 +0200
committerErich Eckner <git@eckner.net>2019-09-18 09:38:12 +0200
commit59cb0e08d06b00065e3c6069ae7236db40e9b2e8 (patch)
tree7ef9dce01f439f38005d47c83794fc4e80e59a61 /backup.conf
parentadf553ea9c6176a077745695cb3d517961fe3988 (diff)
downloadhardlinkedBackups-59cb0e08d06b00065e3c6069ae7236db40e9b2e8.tar.xz
backup.conf: more sane defaults
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() {