I'd like to see an option to receive an e-mail every time a backup was succesfully done. Or if for some reason the backup failed. Maybe the start date/tme and finish date/time. Total of MB/GB that was send to S3? Something like that?
Feature request - Backup status update via e-mail
(5 posts) (1 voice)-
Posted 2 years ago #
-
OK.
I've made a script wich sort of does the above (apart from the total send MB/GB). If any one is interested, you can find the Arq Watcher script here: http://pastebin.com/aE01uLwK
Sample e-mail:
Subject: Arq Watcher logs for MAC.local on Mon 16 MAY 2011 15:05:14 CEST
May 16 15:00:31 MAC Arq Agent[36234]: ERROR [thread 6703] failed to calculate required upload size for commit: /Volumes/user/Library/Keychains is missing
May 16 15:00:31 MAC Arq Agent[36234]: ERROR [thread 6703] 61D82CE0-4E75-4E75-4E75-43541C7FFE2E (Keychains) commit error: /Volumes/user/Library/Keychains is missing
May 16 15:00:31 MAC Arq Agent[36234]: INFO [thread 6703] 61D82CE0-4E75-4E75-4E75-43541C7FFE2E (Keychains): backup failed: /Volumes/user/Library/Keychains is missingMay 16 15:00:18 started
May 16 15:00:30 started
May 16 15:00:31 started
May 16 15:00:31 started
May 16 15:00:34 startedMay 16 15:00:26 succeeded
May 16 15:00:31 succeeded
May 16 15:00:33 succeeded
May 16 15:00:38 succeededPosted 2 years ago # -
I've made some modifications:
* support for single digit dates (duh...)
* No body text on success
* Checks for an internet connection
* Checks if the loglevel is set to INFO
* Funky subjects, useful for parsing the e-mail (I presume)
* choice between sendmail and msmtp to send the e-mail
* updated documentation in the scriptPosted 1 year ago # -
EDIT: never mind, need more time to see if i can make the script compatibel with version 2.
Posted 1 year ago # -
Alright, done. This version is only compatible with Arq Backup version 2.x
Posted 1 year ago #