diff --git a/bin/snap-sync b/bin/snap-sync index 00cbd5e..cdc993e 100755 --- a/bin/snap-sync +++ b/bin/snap-sync @@ -402,8 +402,8 @@ for x in $selected_configs; do # is an identical subvolume to the old snapshot at the receiving # location where it can get its data. This helps speed up the transfer. btrfs send -c "$old_snap" "$new_snap" | $ssh btrfs receive "$backup_location" - printf "Deleting old snapshot for %s...\n" "$x" | tee $PIPE - snapper -c "$x" delete "$old_num" + printf "Modifying data for old snapshot for %s...\n" "$x" | tee $PIPE + snapper -v -c "$x" modify -d "old snap-sync snapshot (you may remove)" -u "backupdir=,uuid=" -c "number" "$old_num" fi if [[ -z $ssh ]]; then