<div dir="ltr"><div><div><div><div>My 2cents<br><br></div>  I think it would be very handy to be able to choose to save the memory state or not.<br><br></div>  As for anything requiring the memory state depends very much on what your recovery procedure is.<br><br></div>  Gianluca, PostgreSQL pg_start / end backup works very well.  I can&#39;t remember exactly how it works but it&#39;s something along the lines of stopping (disk) writes to the database and storing change in WAL (redo in oracle speak) until the backup is complete then applying any changes to the database files on disk.<br></div>  Basically means that the database files won&#39;t change during the backup process.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 9 March 2017 at 10:57, Gianluca Cecchi <span dir="ltr">&lt;<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Thu, Mar 9, 2017 at 11:39 AM, Nathanaël Blanchet <span dir="ltr">&lt;<a href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF"><span class="m_-7988352956159541369gmail-">
    <p><br>
    </p>
    <br>
    <div class="m_-7988352956159541369gmail-m_-1651002033933517188moz-cite-prefix">Le 09/03/2017 à 10:25, Gianluca Cecchi
      a écrit :<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Wed, Mar 8, 2017 at 6:05 PM,
            Gianluca Cecchi <span dir="ltr">&lt;<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div dir="ltr">
                <div class="gmail_extra">
                  <div class="gmail_quote"><br>
                    <div><br>
                    </div>
                    <div>NOTE: during the snapshot creation I see in web
                      admin console the VM in paused state and also not
                      responsive in both console and ssh session.</div>
                    <div>After a couple of seconds it comes back and as
                      a confirmation I see this in its messages:</div>
                    <div><br>
                    </div>
                    <div>Mar  8 17:38:57 T-ORACLE73 chronyd[616]: System
                      clock wrong by 19.077230 seconds, adjustment
                      started<br>
                    </div>
                    <div><br>
                    </div>
                    <div>Is this expected?</div>
                    <div><br>
                    </div>
                    <span class="m_-7988352956159541369gmail-m_-1651002033933517188gmail-HOEnZb"><font color="#888888">
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                      </font></span></div>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
        <div class="gmail_extra">Possibly the default changed at some
          point in time, so that now it saves memory and so this implies
          pause of VM</div>
      </div>
    </blockquote></span>
    Saving memory is essential in some apàplications like DB, so you
    won&#39;t bypass vm pauses for such a stuff<div><div class="m_-7988352956159541369gmail-h5"><br></div></div></div></blockquote><div><br></div></span><div>Yes, indeed, the important thing is to have an option so that you can set it True or False, depending on the VM you are saving, the application that is running isnide it and the way you want to do backup of the application.</div><div>Nevertheless, RDBMS and also other applications often have some mechanism to be &quot;frozen in a consistent state&quot; so that you can save what you have on disk without need to save memory to have a consistent backup.</div><div>Oracle for example has functionality to be put in &quot;backup mode&quot; where you issue &quot;begin backup&quot; before the snapshot and &quot;end backup&quot; right after snapshot completion.</div><div>I see that POstgreSQL has similar functionality (not tested myself):</div><div><a href="https://www.postgresql.org/docs/9.4/static/continuous-archiving.html#BACKUP-LOWLEVEL-BASE-BACKUP" target="_blank">https://www.postgresql.org/<wbr>docs/9.4/static/continuous-<wbr>archiving.html#BACKUP-<wbr>LOWLEVEL-BASE-BACKUP</a></div><div>and the same for other ones.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Gianluca </div></font></span></div><br></div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>