From 6ada0a7ecfd3a2c896c1e001b6a0167f7c4b9d40 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Fri, 21 Jan 2022 15:52:00 +0100 Subject: [PATCH] move cfg vars from backup to transfer --- jobs/backup.job.dist | 32 -------------------------------- jobs/transfer.job.dist | 31 +++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 32 deletions(-) diff --git a/jobs/backup.job.dist b/jobs/backup.job.dist index f0f7c24..81f253b 100644 --- a/jobs/backup.job.dist +++ b/jobs/backup.job.dist @@ -12,38 +12,6 @@ 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 - -# ---------------------------------------------------------------------- -# 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:WDM:1st Fri - nth weekday in month -# ---------------------------------------------------------------------- - -# 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 AND when using duplicity -# ---------------------------------------------------------------------- -# auto = <time> i.e. 1M -# auto = 1M - # ---------------------------------------------------------------------- # local dumps; each service has its own subdir there diff --git a/jobs/transfer.job.dist b/jobs/transfer.job.dist index 5255a79..4e5dfbd 100644 --- a/jobs/transfer.job.dist +++ b/jobs/transfer.job.dist @@ -67,6 +67,37 @@ bin = restic # remark: "gnupg-passphrase = ..." is deprecated passphrase = EnterYourSecretHere +# ---------------------------------------------------------------------- +# 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 + +# ---------------------------------------------------------------------- +# 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:WDM:1st Fri - nth weekday in month +# ---------------------------------------------------------------------- + +# 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 AND when using duplicity +# ---------------------------------------------------------------------- +# auto = <time> i.e. 1M +# auto = 1M # automatic backup of samba shares (only if samba shares were detected) sambashares = 1 -- GitLab