<p dir="ltr"></p>
<p dir="ltr">On Nov 22, 2016 9:59 AM, &quot;Chris Fowler&quot; &lt;<a href="mailto:cfowler@outpostsentinel.com">cfowler@outpostsentinel.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ________________________________<br>
&gt;&gt;<br>
&gt;&gt; From: &quot;Jim Kinney&quot; &lt;<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>&gt;<br>
&gt;&gt; To: &quot;Atlanta Linux Enthusiasts&quot; &lt;<a href="mailto:ale@ale.org">ale@ale.org</a>&gt;<br>
&gt;&gt; Sent: Monday, November 21, 2016 4:38:51 PM<br>
&gt;&gt;<br>
&gt;&gt; Subject: Re: [ale] MySQL array based snapshot<br>
&gt;&gt;<br>
&gt;&gt; This sounds to me like a LVM snapshot of the database file space.<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://dev.mysql.com/doc/refman/5.7/en/backup-methods.html">http://dev.mysql.com/doc/refman/5.7/en/backup-methods.html</a><br>
&gt;&gt;<br>
&gt;&gt; Snapshot _IS_ a backup as long as it is copied off the original machine. Loud google mouths are not always accurate. Dump your Google search cookie and see what comes up again.<br>
&gt;&gt;<br>
&gt;&gt; There is a STUN event but it&#39;s pretty short. The key that I see is to lock the DB after a flush (see link) , make the LVM snapshot, then release the lock, copy out the snapshot as a backup. The performance drag happens during the copy of the snapshot but the copy can be &#39;nice 20&#39; if things are on a decent drive subsystem and drive failure is not expected to be eminent.<br>
&gt;<br>
&gt;<br>
&gt; I don&#39;t see them doing a LVM snapshot on the guest.  They&#39;ll do it on the host.  Maybe they intend to do it on the guest.  Maybe VMWare does it for them.<br>
&gt;</p>
<p dir="ltr">That&#39;s even easier. From inside vm, sync and lock db, vm snapshot, unlock. Copy snapshot away. Flatten vm snapshot. Vmware and Ovirt/KVM will do this. </p>
<p dir="ltr">&gt; _______________________________________________<br>
&gt; Ale mailing list<br>
&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
&gt; <a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br>
&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>
&gt; <a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br>
&gt;</p>