Email rsnapshot backup reports

This commit is contained in:
2021-06-08 00:33:55 -04:00
parent e3200f6ad0
commit 6a73e4120e
7 changed files with 74 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
#/bin/bash
LOG_LOCATION={{ rsnapshot_logdir }}/*.log
[ $# -gt 0 ] && LOG_LOCATION=$1
grep -e ^\\[$(date --date="yesterday" '+%F').*\/usr\/bin\/rsnapshot $LOG_LOCATION