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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user