mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-08 20:02:32 +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 path
|
||||||
getconf compact
|
getconf compact
|
||||||
getconf group_by
|
getconf group_by
|
||||||
|
getconf dry_run
|
||||||
getconf prune
|
getconf prune
|
||||||
|
|
||||||
[ -n "$keep_last" ] && \
|
[ -n "$keep_last" ] && \
|
||||||
@ -346,6 +347,9 @@ if [[ "$run_forget" == "yes" ]]; then
|
|||||||
[ -n "$group_by" ] && \
|
[ -n "$group_by" ] && \
|
||||||
cmd_options+="--group-by $group_by "
|
cmd_options+="--group-by $group_by "
|
||||||
|
|
||||||
|
[ -n "$dry_run" ] && \
|
||||||
|
cmd_options+="--dry-run "
|
||||||
|
|
||||||
[ -n "$prune" ] && \
|
[ -n "$prune" ] && \
|
||||||
cmd_options+="--prune "
|
cmd_options+="--prune "
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user