restic: also send mail to reynir on failure
It seems our own mailu instance is unhappy with postfix sending ourselves these backup notifications.
This commit is contained in:
parent
737467597d
commit
581cc4ea04
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
curl smtp://{{ smtp_host }} --mail-from {{ services.restic.mail_from }} --mail-rcpt admin@data.coop --upload-file . << END_OF_MAIL
|
curl smtp://{{ smtp_host }} --mail-from {{ services.restic.mail_from }} --mail-rcpt admin@data.coop --mail-rcpt datacoop-backup@reynir.dk --upload-file . << END_OF_MAIL
|
||||||
From: Restic backup <{{ services.restic.mail_from }}>
|
From: Restic backup <{{ services.restic.mail_from }}>
|
||||||
To: admin@data.coop
|
To: admin@data.coop
|
||||||
Subject: Restic backup failed
|
Subject: Restic backup failed
|
||||||
|
|
Loading…
Add table
Reference in a new issue