Add zfs recv -d to use relative paths.

This commit is contained in:
Otho 2022-11-20 21:14:34 -05:00
parent 055a6b3d81
commit 81fc6126c6
Signed by: Otho
GPG Key ID: 16C720CD3BBE21D9

View File

@ -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} \