<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 08/21/2014 08:33 AM, Lee Viali
wrote:<br>
</div>
<blockquote
cite="mid:CAL247nYHLnQFNNr4neFkQ6J8FrEdS0PT_ctf+b6HFEGhb6Ym+w@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello Kir,
<div>I am really sorry to bother you again..</div>
<div><br>
</div>
<div>Just one question.</div>
<div>I want to continuously checkpoint a container.</div>
<div>I did the following, </div>
<div>1"vzctl chkpnt VEID" </div>
<div>2 backup the Dump.VEID file.</div>
<div>3"vzctl restore VEID"</div>
<div><br>
</div>
<div>However, step 3 usually takes long.</div>
<div>Is there any command that I can use to resume a container
without restoring from a dump file?</div>
<div>I sent you this email,</div>
<div>because I have a assignment, which is extremely urgent....</div>
<div>and the mailing list responses really slowly...</div>
</div>
</blockquote>
<br>
You should always use mailing list. It's very counter-productive
otherwise.<br>
<br>
The commands you look for are:<br>
<br>
vzctl chkpnt $VEID --suspend # this freezes container<br>
vzctl chkpnt $VEID --dump --dumpfile /some/path/to/dump/file # this
dumps the container that was previously frozen<br>
vzctl chkpnt $VEID --resume # this un-freezes the container<br>
<br>
So this sequence helps you to do what you want without a need to
restore from a dump file,<br>
and should be way faster<br>
<br>
Kir.<br>
</body>
</html>