Changes
no edit summary
# OLDVE=222 NEWVE=333 # Just an example
# vzctl stop $OLDVE
# mkdir /vz/root/$NEWVE # on debian, configuration is under /etc/vz/ # cp /etc/vz/conf/$OLDVE.conf /etc/vz/conf/$NEWVE.conf # on debian, configuration is under /etc/vz/
# mkdir /vz/private/$NEWVE
# pushd /vz/private/$OLDVE; tar c --numeric-owner * | tar x --numeric-owner -C /vz/private/$NEWVE; popd