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:
-
Create a backup of a container:
# yum install vzdump -y && vzdump --stop --compress --dumpdir /yourbackupdir/ VMID
-
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
Comments
0 commentsPlease sign in to leave a comment.