OpenVZ Forum


Home » General » Support » Checkpoint/Backup of a container
Re: Checkpoint/Backup of a container [message #34485 is a reply to message #34479] Sun, 11 January 2009 17:08 Go to previous messageGo to previous message
Martin Maurer is currently offline  Martin Maurer
Messages: 13
Registered: January 2008
Junior Member
gurtaj wrote on Fri, 09 January 2009 08:56

Hello, all. I've been reading and playing with OpenVZ, and have spent some time thinking about how to backup a container.

To backup a container I need to do a dump of it and also to make a copy of the filesystem at the time of the dump, right? If the filesystem is modified between the moment of the dump and the moment when the container is restored, errors might occur, so I need to keep a copy of the filesystem at the moment. Am I right?

Now, from what I understood from Andrey Mirkin ( http://forum.openvz.org/index.php?t=msg&goto=13558&& amp; amp;srch=checkpoint#msg_13558), the best way to backup a container is to execute:

vzctl chkpnt VEID --suspend
vzctl chkpnt VEID --dump
vzctl chkpnt VEID --resume


There's no way to backup a container without suspending it, right?


see vzdump
http://wiki.openvz.org/Vzdump

or just use Proxmox VE - including a GUI for vzdump.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Weird file access / rights problem
Next Topic: "cpus" config option and "--set cpus" issue
Goto Forum:
  


Current Time: Tue Oct 08 12:09:11 GMT 2024

Total time taken to generate the page: 0.05325 seconds