[ Thanks to Falko
Timme for this link. ]
“I’m running a virtual machine with the hostname
test.example.com, the IP address 192.168.0.102 and the VEID 102 on
server1.example.com, and I want to back up that machine and restore
it on server2.example.com.“We can restore it on server2.example.com with no changes (e.g.
same IP address and hostname), but in that case we must stop the VM
on server1.example.com because otherwise the IP address and
hostname would conflict; the second possibility is to restore it on
server2.example.com, but change some parameters like the IP address
and hostname with the vzctl set command – in this case we can run
both VMs (the original one on server1.example.com and the clone on
server2.example.com) at the same time. This is a great method to
clone VMs.”