From e5a2354451d224010f9f7a001ad8fd20116ef5aa Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Wed, 17 Mar 2021 15:09:57 +1100 Subject: [PATCH] borg-backup-server: fix verification run &>> is a bashism and not supported by sh, which cron runs the jobs under. Use >> instead. Change-Id: I8e67f466887070fb1dedc403c53227c3ce1b2f1d --- playbooks/roles/borg-backup-server/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/borg-backup-server/tasks/main.yaml b/playbooks/roles/borg-backup-server/tasks/main.yaml index 1190a2a354..914b5c4a2a 100644 --- a/playbooks/roles/borg-backup-server/tasks/main.yaml +++ b/playbooks/roles/borg-backup-server/tasks/main.yaml @@ -43,7 +43,7 @@ cron: name: verify-borg-backups state: present - job: '/usr/local/bin/verify-borg-backups &>> /var/log/verify-borg-backups.log' + job: '/usr/local/bin/verify-borg-backups >> /var/log/verify-borg-backups.log 2>&1' minute: '0' hour: '0' weekday: '0'