Skip to content

Commit

Permalink
Add some options to borg_additional_options for borg extract.
Browse files Browse the repository at this point in the history
  • Loading branch information
flyinggreenfrog committed Apr 29, 2020
1 parent 4775f3f commit a23b9d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions usr/share/rear/restore/BORG/default/400_restore_backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ LogPrint "Recovering from Borg archive $BORGBACKUP_ARCHIVE"
local borg_additional_options=''

is_true $BORGBACKUP_SHOW_PROGRESS && borg_additional_options+='--progress '
is_true $BORGBACKUP_SHOW_LIST && borg_additional_options+='--list '
is_true $BORGBACKUP_SHOW_RC && borg_additional_options+='--show-rc '

LC_ALL=rear.UTF-8 \
borg extract --sparse $borg_additional_options $BORGBACKUP_OPT_REMOTE_PATH \
Expand Down

0 comments on commit a23b9d2

Please sign in to comment.