Moving iocage root

Status
Not open for further replies.

Jacopx

Patron
Joined
Feb 19, 2016
Messages
367
Buongiorno a tutti!

I have created yesterday my first iocage (GitLab) and everything works perfectly! I have noticed only now that the iocage root is in a pool that i don't want to use for that.
I'm trying to moving the existing jail and the root to a new place. What I'm not sure is what performing before, if the:
iocage activate <new pool>
or the jail clone:
iocage clone gitlab --name gitlab_1
after that i need to promote the clone just created... But this clone will be automatically shifted in the new pool?

Otherwise I think that the easiest procedure is to perform a ZFS snapshot, activating the new iocage root and than send the ZFS snapshot...

Help? I'm asking because I'm trying to learn the new iocage system! ;)
 

Jacopx

Patron
Joined
Feb 19, 2016
Messages
367

Jacopx

Patron
Joined
Feb 19, 2016
Messages
367

spacecabbie

Explorer
Joined
Aug 20, 2017
Messages
99
Dit you ever figure it out ? If not i am attaching my zelf to see if some one has a solution.
 

Jacopx

Patron
Joined
Feb 19, 2016
Messages
367
Dit you ever figure it out ? If not i am attaching my zelf to see if some one has a solution.

I have decided to created a new jail and restore manually the data in order to avoid problem! But I think the ZFS Snapshot solution will solve the problem in a good way.
 
Status
Not open for further replies.
Top