Reformat
This commit is contained in:
@@ -66,11 +66,12 @@ done
|
|||||||
restic unlock &
|
restic unlock &
|
||||||
wait $!
|
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
|
# 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.
|
# --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.
|
# --tag lets us reference these backups later when doing restic-forget.
|
||||||
{ backup_output=$(restic backup \
|
{ backup_output=$( \
|
||||||
|
restic backup \
|
||||||
--verbose="$RESTIC_VERBOSITY_LEVEL" \
|
--verbose="$RESTIC_VERBOSITY_LEVEL" \
|
||||||
--one-file-system \
|
--one-file-system \
|
||||||
--tag "$RESTIC_BACKUP_TAG" \
|
--tag "$RESTIC_BACKUP_TAG" \
|
||||||
|
|||||||
Reference in New Issue
Block a user