dsnap-sync: update modification for snapper metadata

* use "dsnap-sync" as cleanup-algorithem which will inhibit unwanted
  deletion of backups

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2018-11-22 16:51:24 +01:00
parent d69dc5444a
commit 924191483f

View File

@@ -1980,6 +1980,7 @@ run_finalize () {
# save target-id
if [ $snapper_source_id -gt 0 ]; then
cmd="snapper --config $selected_config modify \
--cleanup-algorithm \"dsnap-sync\" \
--userdata \"tapeid=$volume_name\" \
$snapper_source_id"