<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 11, 2015 at 1:29 AM, Narcis Garcia <span dir="ltr"><<a href="mailto:informatica@actiu.net" target="_blank">informatica@actiu.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello,<br>
<br>
What is the best procedure to make a consistent container backup without<br>
stopping it?<br>
<br>
I'm using Debian 8<br>
<br></blockquote><div><br></div><div>If "consistent" = "you get the same state as power failure on a physical server, which most database can recover from using some kind of journal replay", then it should be storage-level snapshot. This requires that the containers use a storage which can support a large number of snapshots without degrading performance (e.g. btrfs or zfs).</div><div><br></div><div>If "consistent" = "vmware/virtualbox's snapshot/resume feature", then AFAIK there's no perfectly reliable way to do that in lxc yet. There's <a href="http://criu.org/LXC">http://criu.org/LXC</a> , but it still have some limitations.</div><div><br></div><div>-- </div><div>Fajar  </div></div></div></div>