OpenVZ Forum


Home » General » Support » Q: Backup Client on Physical Host to pull data from VZhosts ?
Re: Q: Backup Client on Physical Host to pull data from VZhosts ? [message #8716 is a reply to message #8712] Mon, 04 December 2006 15:28 Go to previous messageGo to previous message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
Hi Tim,

There is no problem with access the VE files from the HN, copying /vz/private/VEID/path/to/file to /root, even while the VE is running. As with any server, if you want a 100% bulletproof backup, you will need to stop the software/server and then create a backup of its files so that the applications can definitely commit their data to the disk. However, if your applications do not store much data in memory (the data on disk is enough to get the apps back to a running state), you can safely create a backup of the VE files while the VE is running.

For a backup method, I would check out tar with the incremental option. This does a great job of creating incremental backups and storing them as one file, which you can then move to another server for safety. Using this, you can create a backup of the entire VE, not just specific directories. I feel the file storage overhead is worth it because restoring from the backups is a breeze. Also since the system files won't change often, only your initial tar backup archives them.

Hope this helps.
Rick Blundell


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
 
Read Message
Read Message
Read Message
Previous Topic: 2.6.18-028test007.1 crush
Next Topic: Problem while installing template on ALT Linux
Goto Forum:
  


Current Time: Fri Nov 15 19:52:56 GMT 2024

Total time taken to generate the page: 0.03271 seconds