From 8105c305ec98ace909ef15cdcc9d2e2d1de59be3 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Wed, 19 Jan 2022 16:43:50 +0100
Subject: [PATCH] remove old vars from backup.job.dist

---
 jobs/backup.job.dist | 43 ++++++++++++++++++++++---------------------
 1 file changed, 22 insertions(+), 21 deletions(-)

diff --git a/jobs/backup.job.dist b/jobs/backup.job.dist
index 5da522f..f0f7c24 100644
--- a/jobs/backup.job.dist
+++ b/jobs/backup.job.dist
@@ -1,8 +1,5 @@
 # ----------------------------------------------------------------------
-#
-# jobfile backup.job for scheduling
-#
-# ----------------------------------------------------------------------
+# jobfile backup.job for scheduling local dumps
 #
 # SYNTAX: 
 # [variable] = [value]
@@ -13,35 +10,39 @@
 #
 # ----------------------------------------------------------------------
 
+lang = en_us
+
+# ----------------------------------------------------------------------
+# backup type; one of auto|inc
+#   inc:   incremetal and full backups if started on cofigured times
+#   auto:  automatic; =incermental backups; duplicity can start a full 
+#          backup if the last one is older a given range
+# ----------------------------------------------------------------------
+
 # type = inc
 type = auto
 
-lang = en_us
-
 # ----------------------------------------------------------------------
-# scheduling for incremental backup and full backup
+# scheduling for full backup
+# type = inc only
 # for inc and full you can set
 #   DOM:06,22        - days of month
 #   DOW:Mon,Fri      - weekdays
-#   WDM:1st Fri      - nth weekday in month
+#   WDM:WDM:1st Fri  - nth weekday in month
 # ----------------------------------------------------------------------
 
-inc = DOW:Mon,Tue,Wed,Thu,Fri,Sat,Sun
+# full = WDM:3rd Fri
 
-# full backups for type = inc
-full = WDM:3rd Fri
+# when to start a full backup?
+#   regex that must match a time HH:MM somewhen
+#   This will start it if backup ist started between 23:00:00 and 23:09:59
+# start-time-full = 23:0.
 
-# full backups for type = auto
+# ----------------------------------------------------------------------
+# full backups for type = auto AND when using duplicity
+# ----------------------------------------------------------------------
 # auto = <time> i.e. 1M 
-auto = 1M
-
-# --- when to start every day?
-
-# incremental jobs
-#   time HHMM ... multiple values with separated with "," and sorted
-#   10:00,12:00,14:00,16:00,18:00
-start-time-inc = 20:00
-start-time-full = 20:00
+# auto = 1M
 
 
 # ----------------------------------------------------------------------
-- 
GitLab