mirror of
https://github.com/luzifer-ansible/duplicity-backup.git
synced 2024-11-09 14:10:00 +00:00
Work around Duplicity bug overwriting backup job
Now it overwrites the log cleanup which is okay-ish but at least the backup is working again. refs ansible/ansible#71244 ansible/ansible#71207 Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
f1fcc82c47
commit
9794f0ac97
1 changed files with 8 additions and 8 deletions
|
@ -37,14 +37,6 @@
|
|||
src: duplicity-backup.yaml.j2
|
||||
dest: /etc/duplicity-backup.yaml
|
||||
|
||||
- name: Set up cron for backups
|
||||
cron:
|
||||
name: Duplicity Backup
|
||||
special_time: hourly
|
||||
job: /usr/bin/ionice -c3 /usr/bin/nice -n19 /usr/local/bin/duplicity-backup -f /etc/duplicity-backup.yaml backup
|
||||
user: root
|
||||
cron_file: duplicity
|
||||
|
||||
- name: Add cronjob to clean logs
|
||||
cron:
|
||||
name: Cleanup logs
|
||||
|
@ -53,6 +45,14 @@
|
|||
cron_file: duplicity
|
||||
user: root
|
||||
|
||||
- name: Set up cron for backups
|
||||
cron:
|
||||
name: Duplicity Backup
|
||||
special_time: hourly
|
||||
job: /usr/bin/ionice -c3 /usr/bin/nice -n19 /usr/local/bin/duplicity-backup -f /etc/duplicity-backup.yaml backup
|
||||
user: root
|
||||
cron_file: duplicity
|
||||
|
||||
- name: Ensure .config directory used by duplicity
|
||||
file:
|
||||
dest: /root/.config
|
||||
|
|
Loading…
Reference in a new issue