Checkpoint/Backup of a container [message #34479] |
Fri, 09 January 2009 13:56 |
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?
|
|
|