aboutsummaryrefslogtreecommitdiff
path: root/scripts/box
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-06-10 16:01:26 -0300
committerEuAndreh <eu@euandre.org>2019-06-10 16:01:26 -0300
commit2292283dca4a2c525d9d93c99a605f926e93585a (patch)
tree79bf5d59dc009dee51442c02306f1b7397344b6d /scripts/box
parentDisable $DESTROY_VOLUME operational toggle (diff)
downloadtoph-2292283dca4a2c525d9d93c99a605f926e93585a.tar.gz
toph-2292283dca4a2c525d9d93c99a605f926e93585a.tar.xz
Send logs via email after finishing provision.sh
The email will be send for both sucessfull and failed runs.
Diffstat (limited to 'scripts/box')
-rwxr-xr-xscripts/box/create-backup.env.sh2
1 files changed, 2 insertions, 0 deletions
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}"/*