Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2016 22:47:20 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        freebsd-questions@freebsd.org
Subject:   complete clone/restore from a ZFS-based system replication stream
Message-ID:  <20160926154720.GA75556@admin.sibptus.transneft.ru>

next in thread | raw e-mail | index | archive | help
Dear Colleagues,

I have a complete dump of a working system created by 
'zfs send -Rv zroot@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@sibptus.tomsk.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160926154720.GA75556>