This commit is contained in:
Gerard Bosch
2022-02-12 10:02:03 +01:00
parent 9ebc9ea641
commit 7dde85f25e
+3 -2
View File
@@ -66,11 +66,12 @@ done
restic unlock &
wait $!
# Do the backup!
# Do the backup! (and capture the output for further processing)
# See restic-backup(1) or http://restic.readthedocs.io/en/latest/040_backup.html
# --one-file-system makes sure we only backup exactly those mounted file systems specified in $RESTIC_BACKUP_PATHS, and thus not directories like /dev, /sys etc.
# --tag lets us reference these backups later when doing restic-forget.
{ backup_output=$(restic backup \
{ backup_output=$( \
restic backup \
--verbose="$RESTIC_VERBOSITY_LEVEL" \
--one-file-system \
--tag "$RESTIC_BACKUP_TAG" \