Re: Difference between root and private, what to take in backup? [message #12289 is a reply to message #12281] |
Tue, 24 April 2007 10:38 |
ugob
Messages: 271 Registered: March 2007
|
Senior Member |
|
|
Vasily Tarasov wrote on Tue, 24 April 2007 03:59 |
Quote: | I've started playing with vzdump and it reminded me that I have one question about OpenVZ: What is the difference between root and the private area?
|
When VE is stopped you have contents only in private/<veid> directory. When VE starts simfs filesystem is mounted on root/<veid>. Simfs is a mirror-like filesystem: it mirrors the contents of private/<veid> to root/<veid>. The reason to use simfs is to isolate VE's filesystem from HN's one.
|
Ok, so I guess one should never edit files directly in the root?
If, for example, I want to make a backup of my VE that is only an ftp server, should I do a rsync of /home in the root or private?
Thanks
Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf
Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
|
|
|