<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">Greetings everyone,<br>
<br>
it took me a while and finally i made it.. ;-) I have added the option 
to switch to and delete the snapshot that was created during backup. 
However, if you do that, you lose the suspended state of the container 
as the memory dump will be lost if the container is not running when you
 do the switch (or) delete. Is that correct or a misunderstanding on my 
side?<br>
<br>
When restoring the container without switch &amp; delete of the 
snapshot, start it up it comes up in exactly the state it was backed up 
(with the memory restored). If i then delete the snapshot (without 
switching to it), everything is where it was backed up. Switching to it 
would also do it but it looks like it automatically does that when 
restoring a suspended container?<br>
<br>
Am i mistaken here or is my interpretation correct?<br>
<br>
Regards,<br>
Andreas<br>
<br>
<blockquote style="border: 0px none;" 
cite="mid:20130905093712.GA21154@acer" type="cite">
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="display:table;width:100%;border-top:1px solid 
#EDEEF0;padding-top:5px">         <div 
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
 photoaddress="kopytov@webzilla.com" photoname="Dmitry Kopytov" 
src="cid:part1.00020801.00040202@maeh.org" 
name="compose-unknown-contact.jpg" height="25px" width="25px"></div>   <div
 
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
           <a moz-do-not-send="true" href="mailto:kopytov@webzilla.com" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Dmitry Kopytov</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">5. September 2013
 11:37</span></font></div></div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody"><div><!----><br>It seems like 
you will have an active snapshot after the restoration.<br>You probably 
have to add "vzctl snapshot-switch" &amp; "vzctl<br>snapshot-delete" to 
your vzprestore.sh.<br><br></div></div>
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="display:table;width:100%;border-top:1px solid 
#EDEEF0;padding-top:5px">         <div 
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
 photoaddress="openvz@maeh.org" photoname="Andreas Faerber" 
src="cid:part1.00020801.00040202@maeh.org" 
name="compose-unknown-contact.jpg" height="25px" width="25px"></div>   <div
 
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
           <a moz-do-not-send="true" href="mailto:openvz@maeh.org" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Andreas Faerber</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">3. September 2013
 22:56</span></font></div></div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody">Greetings everyone,
<br>
<br>as i have recently converted my containers to use ploop storage, i 
was 
in need of a backup functionality that can be used on cronjobs. I have 
now the first working version of my backup and restore scripts, which 
are available at
<br>
<br><a class="moz-txt-link-freetext" href="https://github.com/andreasfaerber/vzpbackup">https://github.com/andreasfaerber/vzpbackup</a>
<br>
<br>If you're interested, please have a look and let me know, what you 
think, if you find any bugs or suggest improvements.
<br>
<br>Thanks, Regards,
<br>Andreas
<br>
<br></div>
</blockquote>
</body></html>