mirror of
https://asciireactor.com/o4data/zfs-backup.git
synced 2024-11-25 04:05:06 +00:00
Fixed test output for send.
This commit is contained in:
parent
126c331608
commit
0210ed518a
@ -70,7 +70,7 @@ send_single_snapshot()
|
|||||||
echo zfs send -R ${BR_ROOT}@${BR_NEW_SNAPSHOT}
|
echo zfs send -R ${BR_ROOT}@${BR_NEW_SNAPSHOT}
|
||||||
echo ssh -i ~/.ssh/id_rsa -o port=${BR_REMOTE_PORT} \
|
echo ssh -i ~/.ssh/id_rsa -o port=${BR_REMOTE_PORT} \
|
||||||
${BR_REMOTE_USER}@${BR_REMOTE_ADDR} \
|
${BR_REMOTE_USER}@${BR_REMOTE_ADDR} \
|
||||||
zfs receive -vu ${BR_REMOTE_ROOT}@${BR_NEW_SNAPSHOT}
|
zfs receive -vu ${BR_REMOTE_ROOT}
|
||||||
else
|
else
|
||||||
zfs send -R ${BR_ROOT}@${BR_NEW_SNAPSHOT} |
|
zfs send -R ${BR_ROOT}@${BR_NEW_SNAPSHOT} |
|
||||||
ssh -i ~/.ssh/id_rsa -o port=${BR_REMOTE_PORT} \
|
ssh -i ~/.ssh/id_rsa -o port=${BR_REMOTE_PORT} \
|
||||||
|
Loading…
Reference in New Issue
Block a user