<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using LVM for MySQL Backup and Replication Setup</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/</link>
	<description>Percona&#039;s MySQL &#38; InnoDB performance and scalability blog</description>
	<lastBuildDate>Sat, 11 Feb 2012 16:45:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Imran-UK</title>
		<link>http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/comment-page-2/#comment-860963</link>
		<dc:creator>Imran-UK</dc:creator>
		<pubDate>Wed, 21 Dec 2011 00:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/#comment-860963</guid>
		<description>@tariq

Why not buy a cheap NAS of say 5T and mount it on a MySQL slave. Then you have oodles of space for online historical backups there. You could also share it as an NFS export to all the other MySQL slaves. There is also a utility called &quot;dar&quot; (disk archive) as an alternative to a tarball. Just had a thought, maybe this idea could be combined with rsnapshot for space efficient backups using hard-links.

Peter seemed to suggest that a read-write snapshot can be directly mounted and then you can let InnoDB recovery do it&#039;s thing. Only way is to experiment it in a safe environment first.</description>
		<content:encoded><![CDATA[<p>@tariq</p>
<p>Why not buy a cheap NAS of say 5T and mount it on a MySQL slave. Then you have oodles of space for online historical backups there. You could also share it as an NFS export to all the other MySQL slaves. There is also a utility called &#8220;dar&#8221; (disk archive) as an alternative to a tarball. Just had a thought, maybe this idea could be combined with rsnapshot for space efficient backups using hard-links.</p>
<p>Peter seemed to suggest that a read-write snapshot can be directly mounted and then you can let InnoDB recovery do it&#8217;s thing. Only way is to experiment it in a safe environment first.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/comment-page-2/#comment-834069</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Mon, 24 Oct 2011 19:36:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/#comment-834069</guid>
		<description>Very interesting article.  Is there a way to implement this with the database shut down to ensure that the files don&#039;t get corrupted?  I&#039;ve been trying to figure out a more reliable way to keep the master and slave in sync without any little hiccups while replicating, or getting them to match initially.</description>
		<content:encoded><![CDATA[<p>Very interesting article.  Is there a way to implement this with the database shut down to ensure that the files don&#8217;t get corrupted?  I&#8217;ve been trying to figure out a more reliable way to keep the master and slave in sync without any little hiccups while replicating, or getting them to match initially.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Richter</title>
		<link>http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/comment-page-2/#comment-820603</link>
		<dc:creator>Marc Richter</dc:creator>
		<pubDate>Tue, 06 Sep 2011 08:52:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/#comment-820603</guid>
		<description>Hey Peter,

thank you for this great article! :)</description>
		<content:encoded><![CDATA[<p>Hey Peter,</p>
<p>thank you for this great article! <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tariq</title>
		<link>http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/comment-page-1/#comment-813966</link>
		<dc:creator>tariq</dc:creator>
		<pubDate>Thu, 18 Aug 2011 11:52:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/#comment-813966</guid>
		<description>Hi everyone ,

Following this blog we arrived at the conclusion to use lvm snapshots  on the slave servers to prevent slaves from being used excessively ..
So we are faced with a situation that our analytics teams issues heavy raw mysql queries that run for hours in some cases days on our replicated slave servers because of which as you can imagine performance goes for a toss and that causes  slave to slow down and not sync up with the master . Now some of these slaves run on LVM&#039;s which have already occupied most of the file system space in that particular volume group they are residing in , now taking a mysqldump is a long process and can&#039;t afford the slave shutdown so we need to pursue other avenues like lvm snapshot . So i can easily lock the mysql tables and take a lvm snapshot with lvcreate in a quick seconds and then release the mysql lock .

Now that I have the snapshot of the original volume lets say of  1 TB , one way to use this snapshot is to mount  the snapshot and take a backup of 1tb data say tar which again takes a lot of time to tar it and then becomes even more challenging to save that  tar backup else where especially when you dont have space on the same server . 

what are the options of using that snapshot and how ? the purpose is to use this snapshot or the tar backup data and use another my sql instance to use that data and have analytics team to use it as long as they issues queries on tar backup on another volume it wont impact our performance since it has nothing to do with slave ??

can we also directly mount snapshot as read only and configure mysql to use it ,  will that work ? and will that impact on the original volume in any way ?&gt;

what could be other solution to this mess that i haven&#039;t thought about apart from mysqldump ???

Tariq</description>
		<content:encoded><![CDATA[<p>Hi everyone ,</p>
<p>Following this blog we arrived at the conclusion to use lvm snapshots  on the slave servers to prevent slaves from being used excessively ..<br />
So we are faced with a situation that our analytics teams issues heavy raw mysql queries that run for hours in some cases days on our replicated slave servers because of which as you can imagine performance goes for a toss and that causes  slave to slow down and not sync up with the master . Now some of these slaves run on LVM&#8217;s which have already occupied most of the file system space in that particular volume group they are residing in , now taking a mysqldump is a long process and can&#8217;t afford the slave shutdown so we need to pursue other avenues like lvm snapshot . So i can easily lock the mysql tables and take a lvm snapshot with lvcreate in a quick seconds and then release the mysql lock .</p>
<p>Now that I have the snapshot of the original volume lets say of  1 TB , one way to use this snapshot is to mount  the snapshot and take a backup of 1tb data say tar which again takes a lot of time to tar it and then becomes even more challenging to save that  tar backup else where especially when you dont have space on the same server . </p>
<p>what are the options of using that snapshot and how ? the purpose is to use this snapshot or the tar backup data and use another my sql instance to use that data and have analytics team to use it as long as they issues queries on tar backup on another volume it wont impact our performance since it has nothing to do with slave ??</p>
<p>can we also directly mount snapshot as read only and configure mysql to use it ,  will that work ? and will that impact on the original volume in any way ?&gt;</p>
<p>what could be other solution to this mess that i haven&#8217;t thought about apart from mysqldump ???</p>
<p>Tariq</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oz</title>
		<link>http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/comment-page-1/#comment-778419</link>
		<dc:creator>Oz</dc:creator>
		<pubDate>Sun, 17 Oct 2010 18:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/#comment-778419</guid>
		<description>Great resource for replication setup, let me share with you a simple/clear way to hotbackup with LVM, i&#039;m using this even with complete system backup: http://bit.ly/aFKoEB</description>
		<content:encoded><![CDATA[<p>Great resource for replication setup, let me share with you a simple/clear way to hotbackup with LVM, i&#8217;m using this even with complete system backup: <a href="http://bit.ly/aFKoEB" rel="nofollow">http://bit.ly/aFKoEB</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Hodges</title>
		<link>http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/comment-page-1/#comment-766268</link>
		<dc:creator>Robert Hodges</dc:creator>
		<pubDate>Tue, 08 Jun 2010 04:07:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/#comment-766268</guid>
		<description>@Winsom
Look at Lenz Grimmers&#039; mylvmbackup script.  As I recall it compresses data, but you&#039;ll probably still need to cut the resulting file into 5 GB pieces to store in S3.  Use s3cmd to upload the file(s).</description>
		<content:encoded><![CDATA[<p>@Winsom<br />
Look at Lenz Grimmers&#8217; mylvmbackup script.  As I recall it compresses data, but you&#8217;ll probably still need to cut the resulting file into 5 GB pieces to store in S3.  Use s3cmd to upload the file(s).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WINSON</title>
		<link>http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/comment-page-1/#comment-766018</link>
		<dc:creator>WINSON</dc:creator>
		<pubDate>Wed, 02 Jun 2010 10:38:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/#comment-766018</guid>
		<description>If I want to use the LVM to backup to S3,totally ibdata1 file size &gt;50GB,How can I backup the DB to S3 by LVM without EBS.</description>
		<content:encoded><![CDATA[<p>If I want to use the LVM to backup to S3,totally ibdata1 file size &gt;50GB,How can I backup the DB to S3 by LVM without EBS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using LVM for MySQL Backup and Replication &#171; karjoo.org</title>
		<link>http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/comment-page-1/#comment-765412</link>
		<dc:creator>Using LVM for MySQL Backup and Replication &#171; karjoo.org</dc:creator>
		<pubDate>Wed, 19 May 2010 17:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/#comment-765412</guid>
		<description>[...] and Replication  By mehrdad, on May 19th, 2010 Using LVM for MySQL Backup and Replication Setup: http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/   MySQL     &#160;&#160; Linux Firewalls Using iptables [...]</description>
		<content:encoded><![CDATA[<p>[...] and Replication  By mehrdad, on May 19th, 2010 Using LVM for MySQL Backup and Replication Setup: <a href="http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/" rel="nofollow">http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/</a>   MySQL     &nbsp;&nbsp; Linux Firewalls Using iptables [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pet Pixels</title>
		<link>http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/comment-page-1/#comment-651668</link>
		<dc:creator>Pet Pixels</dc:creator>
		<pubDate>Fri, 11 Sep 2009 11:17:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/#comment-651668</guid>
		<description>&lt;strong&gt;MySQL backups with Percona&#039;s XtraBackup...&lt;/strong&gt;

MySQL backup is sometimes very hard to do effectively. MySQL provides various options for backup, but many of them are simply unsuitable for large systems, particularly if they need to remain active during backups. Percona&#039;s XtraBackup is an open-sour...</description>
		<content:encoded><![CDATA[<p><strong>MySQL backups with Percona&#8217;s XtraBackup&#8230;</strong></p>
<p>MySQL backup is sometimes very hard to do effectively. MySQL provides various options for backup, but many of them are simply unsuitable for large systems, particularly if they need to remain active during backups. Percona&#8217;s XtraBackup is an open-sour&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frank</title>
		<link>http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/comment-page-1/#comment-644635</link>
		<dc:creator>frank</dc:creator>
		<pubDate>Tue, 01 Sep 2009 12:43:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/#comment-644635</guid>
		<description>modprobe dm-snapshot
saved my life.

Thanks
Frank</description>
		<content:encoded><![CDATA[<p>modprobe dm-snapshot<br />
saved my life.</p>
<p>Thanks<br />
Frank</p>
]]></content:encoded>
	</item>
</channel>
</rss>

