complete clone/restore from a ZFS-based system replication stream

Victor Sudakov vas at mpeks.tomsk.su
Mon Sep 26 15:47:26 UTC 2016


Dear Colleagues,

I have a complete dump of a working system created by 
'zfs send -Rv zroot at test1 > test1.zfs '. I think it's called a
replication stream package. I also have a new hard drive.  Then I
create the freebsd-boot, freebsd-swap and freebsd-zfs partitions on
the new drive, install the bootloader on it.

Now what command exactly do I use to restore the system from
test1.zfs? I have tried "zfs receive" with different combinations of
options but each time I and with some error message like "destination
exists..."

Please refer me to a good howto on restoring a system from a
replication stream package.

TIA.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru


More information about the freebsd-questions mailing list