gingerpower
Cadet
- Joined
- Feb 8, 2020
- Messages
- 8
I am trying to take a backup of my jails, clear the iocage folder and then import it again. This does not work.
Poolname: Puddle (/mnt/Puddle)
This is what i do:
Install syncthing from plugins and name the jail "syncthing"
stops jail:
exports jail:
copy all files created:
clear iocage:
create iocage by opening plugins tab, choosing same pool as before.
copy files back to /images:
import jail:
start jail:
Error-code:
syncthing: nat requires nat_interface, using em0
No default gateway found for ipv6.
* Starting syncthing
+ Start FAILED
mount_nullfs: /mnt/Puddle/iocage/releases/12.2-RELEASE: No such file or directory
jail: ioc-syncthing: /sbin/mount -t nullfs -o ro /mnt/Puddle/iocage/releases/12.2-RELEASE/root/bin /mnt/Puddle/iocage/jails/syncthing/root/bin: Failed
Poolname: Puddle (/mnt/Puddle)
This is what i do:
Install syncthing from plugins and name the jail "syncthing"
stops jail:
iocage stop syncthing
exports jail:
iocage export syncthing
copy all files created:
cp /mnt/Puddle/iocage/images/* /mnt/Puddle/backup/
clear iocage:
iocage clean -a
create iocage by opening plugins tab, choosing same pool as before.
copy files back to /images:
cp /mnt/Puddle/backup/* /mnt/Puddle/iocage/images/
import jail:
iocage import syncthing
start jail:
iocage start syncthing
Error-code:
syncthing: nat requires nat_interface, using em0
No default gateway found for ipv6.
* Starting syncthing
+ Start FAILED
mount_nullfs: /mnt/Puddle/iocage/releases/12.2-RELEASE: No such file or directory
jail: ioc-syncthing: /sbin/mount -t nullfs -o ro /mnt/Puddle/iocage/releases/12.2-RELEASE/root/bin /mnt/Puddle/iocage/jails/syncthing/root/bin: Failed