From 2159b5b9f8b55e49b013fc3f663cff0b0ab53bc3 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 10 Oct 2018 11:28:33 +0200 Subject: option for seldom backups new --- backup.conf | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'backup.conf') diff --git a/backup.conf b/backup.conf index 82fa2c0..9cc3753 100644 --- a/backup.conf +++ b/backup.conf @@ -17,8 +17,17 @@ backups["proxiedBackup"]="/path/to/destination/ user@source:path proxy_user@ssh_ # 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] +# how old may (seldom) backups be before we warn about outdated ones [seconds] outdatedLimit=$[2*24*60*60] +outdatedSeldomLimit=$[3*7*24*60*60] + +# list of backups which should be made less often +seldomBackups=( + "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" -- cgit v1.2.3-54-g00ecf