Hey all. I'd like to figure out a way to (at the very least) manually migrate containers from 1.9 to 2.0 beta. Is there anybody working on an automated way of doing this? If not, and assuming that you have at least two machines to do migrations on, is the following pretty close?
Comments? Suggestions? Snide remarks?
- Migrate all containers from VE1 to VE2.
- Shut down VE1.
- Reinstall with 2.0 beta.
- Create a container on new VE1 using the same template with the $CTID of one you want to move back. Don't start it.
- rm -rf VE1:/var/lib/vz/{root,private}/$CTID
- rsync -av VE2:/var/lib/vz/root/$CTID VE1:/var/lib/vz/root/
- rsync -av VE2:/var/lib/vz/private/$CTID VE1:/var/lib/vz/root/
- See if it starts up.
Comments? Suggestions? Snide remarks?
Last edited: