Articles in this section

How to change the directory of existing OpenVZ containers in SolusVM?

Question

How to change the directory of existing OpenVZ containers in SolusVM?

Answer

Not possible in SolusVM, however can be done manually on the OpenVZ node:

  1. Create a backup of a container:

    # yum install vzdump -y && vzdump --stop --compress --dumpdir /yourbackupdir/ VMID

  2. Recreate container:

    # vzctl destroy VMID && vzdump --restore /yourbackupdir/vzdump-VMID.tgz VMID

    VMID of a container can be found in SolusVM > Virtual Servers > VMID column.

VMID

VMIDRIGHT.PNG

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.