Best practice to transfert jail from host to host

Status
Not open for further replies.

CyrilP

Dabbler
Joined
Jan 31, 2015
Messages
14
Hi,

I'm using VirtualBox to set up some jail on my workstation. Once I'm happy with my jail, how can I send it to my freenas (physical one).

I read several things about that and I'm still looking for the best solution:

1 - zfs send/receive the entire jail dataset to my remote zpool (in the jail folder)
2 - tar gz everything in the rootfs jail, create a new jail, deploy my tar in the new jail

I've seen that ezjail is doing a tar.gz to save, then create a new dataset and deploy the tar in it (option-2).

In the case of I have the same release of Freenas between my dev environment and my physical NAS, what will you recommend?

Thanks
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
ZFS replication.. no question about it.
 

diedrichg

Wizard
Joined
Dec 4, 2012
Messages
1,319
He was saying 'yes' to option #1.
 
Status
Not open for further replies.
Top