diff options
Diffstat (limited to 'scripts/box/run-backup-template.sh')
-rwxr-xr-x | scripts/box/run-backup-template.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/box/run-backup-template.sh b/scripts/box/run-backup-template.sh new file mode 100755 index 0000000..34184b9 --- /dev/null +++ b/scripts/box/run-backup-template.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +export BORG_REMOTE_PATH="${BORG_REMOTE_PATH}" +export BORG_PASSPHRASE="${BORG_PASSPHRASE}" +borg create \ + --verbose \ + --stats \ + --progress \ + --compression lzma,6 \ + "${BORG_REPO}::{hostname}-{now}-${VPS_COMMIT_SHA}" \ + "${VOLUME_HOME}" |