Difference between revisions of "Duplicate OpenVZ container"
(Created page with "How to duplicate container It's not critical but better to pause or turn off original container before backup/copy for example original CT ID = 111 and we'll dublicate it in...") |
|||
Line 17: | Line 17: | ||
− | + | "[[Category:Admin area]]" |
Revision as of 18:35, 3 February 2016
How to duplicate container
It's not critical but better to pause or turn off original container before backup/copy
for example original CT ID = 111 and we'll dublicate it in CT ID 222
mkdir /vz/private/222
cp -avr /vz/private/111/* /vz/private/222/
cp /etc/vz/conf/111.conf /etc/vz/conf/222.conf
now edit 222.conf and change IP address and you can start it after.
that's all!
""