[Users] restore CT to a different host

Jehan Procaccia jehan.procaccia at tem-tsp.eu
Mon Dec 3 20:48:00 MSK 2018


Hello,

I did a backup of my CT by following advices from 
https://forum.openvz.org/index.php?t=msg&th=13160&start=0 =>  take a 
snaphot, copy hdd files, delete snapshot .

Now I moved the backup hdd and all file under /vz/private/MyUUID/* to a 
different host .

How can I restore/register that CT to the new host ?

I tried

# prlctl register /vz/private/MyUUID --preserve-uuid

Failed to register the virtual environment: 
PRL_ERR_VZCTL_OPERATION_FAILED (Details: Invalid ctid is specified:
)

but it fails with the error message above .

did I missed a step ?

I also create from the /etc/vz/conf/ a link to ve.conf

# ln -s /vz/private/4439d07e-4d30-496a-b141-8dfa4df77c4d/ve.conf 
4439d07e-4d30-496a-b141-8dfa4df77c4d.conf

but it still fails to register the CT .

thanks for your help .





More information about the Users mailing list