@@ -188,10 +188,11 @@ for x in $selected_configs; do
|
|||||||
# is an identical subvolume to the old snapshot at the receiving
|
# is an identical subvolume to the old snapshot at the receiving
|
||||||
# location where it can get its data. This helps speed up the transfer.
|
# location where it can get its data. This helps speed up the transfer.
|
||||||
btrfs send "$new_snapshot" -c "$old_snapshot" | btrfs receive "$backup_location" &>/dev/null
|
btrfs send "$new_snapshot" -c "$old_snapshot" | btrfs receive "$backup_location" &>/dev/null
|
||||||
cp "$new_info" "$backup_location"
|
|
||||||
snapper -c "$x" delete "$old_number"
|
snapper -c "$x" delete "$old_number"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cp "$new_info" "$backup_location"
|
||||||
|
|
||||||
userdata="backupdir=$mybackupdir, uuid=$selected_uuid"
|
userdata="backupdir=$mybackupdir, uuid=$selected_uuid"
|
||||||
|
|
||||||
# Tag new snapshot as the latest
|
# Tag new snapshot as the latest
|
||||||
|
|||||||
Reference in New Issue
Block a user