Sample Header Ad - 728x90

ZFS send/recv full snapshot

3 votes
1 answer
12066 views
I have been backing up my ZFS pool in Server A to Server B (backup server) via zfs send/recv, and using daily incremental snapshots. Server B acts as a backup server, holding 2 pools to Server A and Server C respectively (zfs41 and zfs49/tank) Due to hardware issues, the ZFS pool in Server A is now gone - and I want to restore/recover it asap. Currently the snapshot list in my Server B is as follows :
NAME                        USED  AVAIL     REFER  MOUNTPOINT
zfs41@2021Nov301205        14.9G      -     3.74T  -
zfs41@2021Dec011205        3.87G      -     3.74T  -
zfs41@2021Dec021205        3.77G      -     3.74T  -
zfs41@2021Dec031205           0B      -     3.74T  -
zfs49/tank@2021Nov301705   368G      -     3.52T  -
zfs49/tank@2021Dec011705  65.2G      -     3.52T  -
zfs49/tank@2021Dec021705  66.4G      -     3.52T  -
zfs49/tank@2021Dec031705     0B      -     3.52T  -
where zfs49/tank@2021Dec031705 is the latest for Server B I would like to send back the whole pool (including the snapshots) back to Server A, but I'm unsure of the exact command to run. Question : On Server B, will doing zfs send zfs49/tank@2021Dec031705 | ssh zfs recv tank be sufficient to receive the full ZFS pool + all the snapshots (so I can continue incremental send/recv backups) on Server A?
Asked by LooseAlien123 (31 rep)
Dec 5, 2021, 03:39 PM
Last activity: Dec 6, 2021, 12:33 AM