From 81fc6126c68589b81d2406edef8d139189672e8d Mon Sep 17 00:00:00 2001 From: Otho Date: Sun, 20 Nov 2022 21:14:34 -0500 Subject: [PATCH] Add zfs recv -d to use relative paths. --- backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index c461fa8..ed2b651 100755 --- a/backup.sh +++ b/backup.sh @@ -95,7 +95,7 @@ send_single_snapshot() echo zfs send -R ${BR_ROOT}@${BR_NEW_SNAPSHOT} echo ssh -i ~/.ssh/id_rsa -o port=${BR_REMOTE_PORT} \ ${BR_REMOTE_USER}@${BR_REMOTE_ADDR} \ - zfs receive -vu ${BR_REMOTE_ROOT} + zfs receive -dvu ${BR_REMOTE_ROOT} else zfs send -R ${BR_ROOT}@${BR_NEW_SNAPSHOT} | ssh -i ~/.ssh/id_rsa -o port=${BR_REMOTE_PORT} \