mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-09 12:22:40 +01:00
restic: add dry_run option on check command
This commit is contained in:
parent
3d84e15c27
commit
c0426653fc
@ -305,6 +305,7 @@ if [[ "$run_forget" == "yes" ]]; then
|
||||
getconf path
|
||||
getconf compact
|
||||
getconf group_by
|
||||
getconf dry_run
|
||||
getconf prune
|
||||
|
||||
[ -n "$keep_last" ] && \
|
||||
@ -346,6 +347,9 @@ if [[ "$run_forget" == "yes" ]]; then
|
||||
[ -n "$group_by" ] && \
|
||||
cmd_options+="--group-by $group_by "
|
||||
|
||||
[ -n "$dry_run" ] && \
|
||||
cmd_options+="--dry-run "
|
||||
|
||||
[ -n "$prune" ] && \
|
||||
cmd_options+="--prune "
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user