Cloning OpenVZ container
- by Tiffany Walker
I have an OpenVZ container on 1 host and I would like to clone it over to my server.
both run SolusVM. I only have root access to my server and would like to host the container on my server now.
Can I use rsync to clone the drive while the OS is running on both?
Using a command like this:
rsync -uazPx --exclude='/boot' --exclude='/proc' --exclude='/dev' --exclude='/lib' --exclude='/tmp' --exclude='/var/lock' / [email protected]:/
Is there any other areas I should probably not copy over?