Re: Checkpoint/Backup of a container [message #34485 is a reply to message #34479] |
Sun, 11 January 2009 17:08 |
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.
|
|
|