Moving a Jail plugin to another Freenas setup

marxtinus2

Cadet
Joined
Nov 4, 2018
Messages
4
Hi community, I have a Jail in my freenas 11.2 that requires a lot of tweeking and config to work the way I like it to work. OpenVPN config firewall setting and else. Is it possible to replicate this setup in another instance of freenas or I need to rebuild it from scratch?
 

gt2416

Patron
Joined
Feb 4, 2018
Messages
262
You can create a backup of your jail with iocage export <jail name> and import that file (along with the key file it generates) with iocage import <jail name>
 

ccav

Dabbler
Joined
Apr 28, 2019
Messages
15
Ťhank you
 

YaMoef

Cadet
Joined
Jun 9, 2019
Messages
6
Hello, I want to upgrade my FreeNas server, but I would like to start from a clean build and a newer version, is it possible to export jails across different versions? Or am I better off starting from scratch? Thank you.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
is it possible to export jails across different versions? Or am I better off starting from scratch?
Possible, but not great... you really want new jails if you can do it. Use it as a chance to document your jail setup and ensure that all data lives in mounts and not in the jail root.
 

YaMoef

Cadet
Joined
Jun 9, 2019
Messages
6
Ah ok didn't think about redocumenting and moving the data out of the jail root, most of it was out of the jail root since I'm following guides mostly on setting up jails. I'll start from scratch thank you for your response.
 
Top