0

I have a server running OpenVZ -- everyday, a full filesystem backup is made to another server. However, there are no VZ container snapshots being made.

So, I have a full filesystem backup of host.example.com -- however, I need to restore a backup of guest1.example.com with OpenVZ CTID 200. Can I simply restore the /vz/root/200 directory tree from backup.example.com to host.example.com and then restart the guest1.example.com container -- or will this create issues?

0

It's not recommended, but it's possible. You need to stop container and drop it's quota:

vzctl stop $VEID
vzquota drop $VEID

And then you can copy the contents, but not of a root directory, but of a private.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.