OpenVZ Forum


Home » General » Support » Checkpoint/Backup of a container
Checkpoint/Backup of a container [message #34479] Fri, 09 January 2009 13:56 Go to previous message
gurtaj is currently offline  gurtaj
Messages: 12
Registered: September 2008
Location: London, Ontario, Canada
Junior Member
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;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?
 
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: Mon Jul 15 10:22:48 GMT 2024

Total time taken to generate the page: 0.02382 seconds