diff --git a/jobs/backup.job.dist b/jobs/backup.job.dist index 5da522fa9575bc4b4968177aad2652a39cad3d96..f0f7c24d3834406e7511ec6893680f2097ffc713 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 # ----------------------------------------------------------------------