6,534
edits
Changes
moved from cat.
If you need to create an exact copy of an existing VE, these are the steps to make.
<pre>
# OLDVE=222 NEWVE=333 # Just an example
# vzctl stop $OLDVE
# mkdir /vz/root/$NEWVE
# cp /etc/vz/conf/$OLDVE.conf /etc/vz/conf/$NEWVE.conf
# cp -r /vz/private/$OLDVE /vz/private/$NEWVE
# vzctl start $NEWVE; vzctl start $OLDVE
</pre>
== See also ==
* http://forum.openvz.org/index.php?t=tree&th=878&mid=4749&
[[Category:HOWTO]]
<pre>
# OLDVE=222 NEWVE=333 # Just an example
# vzctl stop $OLDVE
# mkdir /vz/root/$NEWVE
# cp /etc/vz/conf/$OLDVE.conf /etc/vz/conf/$NEWVE.conf
# cp -r /vz/private/$OLDVE /vz/private/$NEWVE
# vzctl start $NEWVE; vzctl start $OLDVE
</pre>
== See also ==
* http://forum.openvz.org/index.php?t=tree&th=878&mid=4749&
[[Category:HOWTO]]