Hello,
I’m in the process of synchronizing some data between a remote server (13.x-RELEASE) and a local server (14.0-RELEASE). I’ll then ship the local server SSD to the remote server (full project here).
Currently I’m running something like this:
For the last synchro, the SSD will act as boot drive in the remote server, and remote server’s native zpool «sas» will be mounted in /mnt/sas.
I just want to make sure I can run a last send/receive between old source zpool (sas) and new destination zpool (ssd), even though the source zpool is now hooked to a different system. And I don’t want a last minute surprise
Something like this may be?
I’m in the process of synchronizing some data between a remote server (13.x-RELEASE) and a local server (14.0-RELEASE). I’ll then ship the local server SSD to the remote server (full project here).
Currently I’m running something like this:
Bash:
ssh ${OPT} ${TARGET} zfs snapshot sas/compat_devuan01@${D}
ssh ${OPT} ${TARGET} zfs snapshot -r sas/vm@${D}
ssh ${OPT} ${TARGET} "zfs send -v -i @$PREV sas/compat_devuan01@${D}|pv -qL 15M" | zfs receive ssd/compat_devuan01
ssh ${OPT} ${TARGET} "zfs send -vR -i @$PREV sas/vm@${D}|pv -qL 15M" | zfs receive ssd/vm
For the last synchro, the SSD will act as boot drive in the remote server, and remote server’s native zpool «sas» will be mounted in /mnt/sas.
I just want to make sure I can run a last send/receive between old source zpool (sas) and new destination zpool (ssd), even though the source zpool is now hooked to a different system. And I don’t want a last minute surprise
Something like this may be?
Bash:
zfs snapshot sas/compat_devuan01@last
zfs snapshot -r sas/vm@last
zfs send -v -i @$PREV sas/compat_devuan01@last | zfs receive ssd/compat_devuan01
zfs send -vR -i @$PREV sas/vm@last | zfs receive ssd/vm