How to clone OpenVZ VPS manually in SolusVM?

Have more questions? Submit a request

Applicable to:

  • SolusVM

Question

How to clone OpenVZ VPS manually in SolusVM?

Answer

Note: In the instruction below 101 is the VMID of the existing VPS and 102 is the VMID of the cloned VPS. Replace 101 with the actual value - VMID of VPS can be found in SolusVM > Virtual Servers and 102 with any unused VMID value.

  1. Connect to the OpenVZ server using SSH access.
  2. Create an archive of the container:

    # vzdump --compress --dumpdir /vz/ 101

  3. Restore the archive to the new VPS 102

    # vzdump --restore /vz/vzdump-VMID.tgz 102

  4. Import the container to the SolusVM - https://docs.solusvm.com/Importing%2BOpenVZ%2Bcontainers.html Use 102 as Container ID in SolusVM.
  5. Change the IP of one of the containers
  6. Start cloned VPS 102 

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.