theomolenaar
Dabbler
- Joined
 - Jun 12, 2016
 
- Messages
 - 43
 
Hello FreeNAS friends. I am trying to import a jail from a backup with iocage import [jailname]. But it fails to complete this command.
I have two files in my images folder: /mnt/pool1/iocage/images
mediajail_2020-11-12.sha256
mediajail_2020-11-12.zip
iocage import mediajail
Importing dataset: mediajail
Importing dataset: mediajail/root
cannot receive: failed to read from stream
zsh: killed iocage import mediajail
I unzipped mediajail_2020-11-12.zip and have two files here:
/mnt/pool1/iocage/images/unzipped/mnt/pool1/iocage/images
What I did was this. I created a jail:
iocage create -n mediajail -r 11.2-RELEASE ip4_addr="vnet0|xxx.xxx.xxx.xx/24" defaultrouter="xxx.xxx.xxx.x" boot="on" host_hostname="mediajail" vnet="on"
This jail is running successfully. But how exactly do I have to use zfs send and receive?
	
		
			
		
		
	
			
			I have two files in my images folder: /mnt/pool1/iocage/images
mediajail_2020-11-12.sha256
mediajail_2020-11-12.zip
iocage import mediajail
Importing dataset: mediajail
Importing dataset: mediajail/root
cannot receive: failed to read from stream
zsh: killed iocage import mediajail
I unzipped mediajail_2020-11-12.zip and have two files here:
/mnt/pool1/iocage/images/unzipped/mnt/pool1/iocage/images
- mediajail_2020-11-12
 - mediajail_2020-11-12_root
 
What I did was this. I created a jail:
iocage create -n mediajail -r 11.2-RELEASE ip4_addr="vnet0|xxx.xxx.xxx.xx/24" defaultrouter="xxx.xxx.xxx.x" boot="on" host_hostname="mediajail" vnet="on"
This jail is running successfully. But how exactly do I have to use zfs send and receive?