bundles/backup-client: rework backup generation
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
4e5cb69d1c
commit
14e4415e5f
6 changed files with 159 additions and 107 deletions
|
@ -20,7 +20,7 @@ def cron(metadata):
|
|||
return {
|
||||
'cron': {
|
||||
# spread backups between 00:00 and 04:59 UTC
|
||||
'backup': '{} {} * * * root /usr/local/bin/generate-backup > /var/log/backup-client/backup.log 2>&1'.format(
|
||||
'backup': '{} {} * * * root /usr/local/bin/generate-backup-with-retries'.format(
|
||||
(node.magic_number % 60),
|
||||
(node.magic_number % 4),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue