From 2292283dca4a2c525d9d93c99a605f926e93585a Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 10 Jun 2019 16:01:26 -0300 Subject: Send logs via email after finishing provision.sh The email will be send for both sucessfull and failed runs. --- scripts/box/create-backup.env.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/box/create-backup.env.sh') diff --git a/scripts/box/create-backup.env.sh b/scripts/box/create-backup.env.sh index 2c97594..f5cd3b0 100755 --- a/scripts/box/create-backup.env.sh +++ b/scripts/box/create-backup.env.sh @@ -6,7 +6,9 @@ export BORG_PASSPHRASE="${BORG_PASSPHRASE}" # The configured $BORG_REPO is already the rsync remote. # No need to send the files after the backup is done. borg create \ + --verbose \ --stats \ + --progress \ --compression lzma,6 \ "${BORG_REPO}::{hostname}-{now}-${VPS_COMMIT_SHA}" \ "${VOLUME_HOME}"/* -- cgit v1.2.3