ZFS Full backup and recovery from snapshot

Hi,
My goal is to make full system backup and recover it on the another machine with the same disk settings.
I'm following this guide:
and I'm stuck on this command:
root@mfsbsd:/mnt # zpool create -o altroot=/mnt zroot missing vdev specification

Disks settings
root@mfsbsd:/mnt # zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT zroot 12.5G 390K 12.5G - - 0% 0% 1.00x ONLINE -

root@mfsbsd:/mnt # gpart show => 40 33554352 ada0 GPT (16G) 40 1024 1 freebsd-boot (512K) 1064 4194304 2 freebsd-swap (2.0G) 4195368 27262976 3 freebsd-zfs (13G) 31458344 2096048 - free - (1.0G) => 40 33554352 ada1 GPT (16G) 40 1024 1 freebsd-boot (512K) 1064 4194304 2 freebsd-swap (2.0G) 4195368 27262976 3 freebsd-zfs (13G) 31458344 2096048 - free - (1.0G)

Where I'm wrong ?
 
working command:

zpool create -o altroot=/mnt zroot mirror /dev/gpt/disk0 /dev/gpt/disk1

Sorry, I'm newbe
 
Well, how do you expect to CREATE a zpool named 'zroot' if one of that name already exists , according to your ' zpool list' output??
As per documentation, you need ' attach' command instead of ' create' for the pool that already exists:
Code:
#zpool attach $your_pool_name disk1(existing) disk2(which you want to add)

Check this page for that. And generally, zfs operations aren't very difficult and are well documented online.
 
Back
Top