From 428f5a568bcd816f3155b74f45ce3571d40389c2 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Sat, 26 Jun 2021 01:07:22 +0200 Subject: [PATCH] wip --- bundles/backup/files/backup_path_via_zfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/backup/files/backup_path_via_zfs b/bundles/backup/files/backup_path_via_zfs index 2ff80f0..c2b4d85 100644 --- a/bundles/backup/files/backup_path_via_zfs +++ b/bundles/backup/files/backup_path_via_zfs @@ -26,7 +26,7 @@ zfs snap $source_dataset@$new_bookmark if zfs list -t bookmark -H -o name | grep '#auto-backup' | wc -l | grep -q "^0$" then echo "INITIAL BACKUP" - zfs send -v "$source_dataset@$new_bookmark" | $ssh sudo zfs recv $target_dataset + zfs send -v "$source_dataset@$new_bookmark" | $ssh sudo zfs recv -F $target_dataset else echo "INCREMENTAL BACKUP" last_bookmark=$(zfs list -t bookmark -H -o name | sort | tail -1 | cut -d '#' -f 2)