vzctl chkpnt 101 –dumpfile /tmp/Dump.101
mv /etc/vz/conf/101.conf /etc/vz/conf/102.conf
mv /vz/private/101 /vz/private/102
mv /vz/root/101 /vz/root/102
vzctl restore 102 –dumpfile /tmp/Dump.101
openvz change container id
Leave a reply
vzctl chkpnt 101 –dumpfile /tmp/Dump.101
mv /etc/vz/conf/101.conf /etc/vz/conf/102.conf
mv /vz/private/101 /vz/private/102
mv /vz/root/101 /vz/root/102
vzctl restore 102 –dumpfile /tmp/Dump.101