vzmigrate
Migrating a live OpenVZ server's nodes to another OpenVZ server:
Create a way for the origin host to speak to the target via SSH without asking for a passwort:
(Hint: leave the passphrase empty, using ssh-keygen without any parameters will create a Protocol version 2 – key id_rsa.pub)
Then use this website to migrate
http://wiki.openvz.org/Migration_from_one_HN_to_another
vzmigrate -r no -v 10.1.5.6 101
-r no = do not remove the area from source
-v = verbose
10.1.5.6 = the target IP
101 = the VE ID
It is even better to include the –keep-dst switch
–keep-dst = do not clear the private area on the target server after resync. I've looked at the source – as it uses rsync to do the job it's safe to provide this switch (it will reexamine your files and update them if necessary).
Also I ran into a strange problem with Quotas being off – it would create the conf Files, sync the private area, and then delete the conf files again. Just copy them manually to the target & you'll be fine. (Also you could cp them while it is syncing the private area and mv them back later.)