<?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: MySQL database backup file compression:  gzip vs bzip2</title>
	<atom:link href="http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/feed/" rel="self" type="application/rss+xml" />
	<link>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/</link>
	<description>Enterprise level solutions, LAMP, Linux, Apache, MySQL, PHP, Perl, Windows, Cache, Optimization</description>
	<lastBuildDate>Tue, 24 Jan 2012 09:44:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Killer Bees</title>
		<link>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/comment-page-1/#comment-860</link>
		<dc:creator>Killer Bees</dc:creator>
		<pubDate>Thu, 09 Jul 2009 17:50:03 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/#comment-860</guid>
		<description>Hey Everyone! Yeah using MySQL&#039;s archive storage engine makes things small without the need to dump the .sql all the time. Tradeoff there is that the queries run slowly (Im not sure if it supports indexing)</description>
		<content:encoded><![CDATA[<p>Hey Everyone! Yeah using MySQL&#8217;s archive storage engine makes things small without the need to dump the .sql all the time. Tradeoff there is that the queries run slowly (Im not sure if it supports indexing)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/comment-page-1/#comment-810</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Wed, 21 Jan 2009 16:43:38 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/#comment-810</guid>
		<description>Hey. Using MySQL&#039;s archive storage engine can be good for things like logs I believe it uses gzip compression as well.</description>
		<content:encoded><![CDATA[<p>Hey. Using MySQL&#8217;s archive storage engine can be good for things like logs I believe it uses gzip compression as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sunny Walia</title>
		<link>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/comment-page-1/#comment-644</link>
		<dc:creator>Sunny Walia</dc:creator>
		<pubDate>Thu, 03 Apr 2008 21:00:23 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/#comment-644</guid>
		<description>gzip is definitely faster.</description>
		<content:encoded><![CDATA[<p>gzip is definitely faster.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kindDBA</title>
		<link>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/comment-page-1/#comment-643</link>
		<dc:creator>kindDBA</dc:creator>
		<pubDate>Wed, 02 Apr 2008 09:54:34 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/#comment-643</guid>
		<description>which one is the fastest way to compress database backup. I have a backup of 30G and is taking more than an hour to finish compressing</description>
		<content:encoded><![CDATA[<p>which one is the fastest way to compress database backup. I have a backup of 30G and is taking more than an hour to finish compressing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MySQL: How do I dump all tables in a database into separate files? &#124; Technology: Learn and Share</title>
		<link>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/comment-page-1/#comment-524</link>
		<dc:creator>MySQL: How do I dump all tables in a database into separate files? &#124; Technology: Learn and Share</dc:creator>
		<pubDate>Tue, 27 Nov 2007 00:22:56 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/#comment-524</guid>
		<description>[...] MySQL database backup file compress gzip vs bzip2 [...]</description>
		<content:encoded><![CDATA[<p>[...] MySQL database backup file compress gzip vs bzip2 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samer El Sahn</title>
		<link>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/comment-page-1/#comment-83</link>
		<dc:creator>Samer El Sahn</dc:creator>
		<pubDate>Thu, 22 Mar 2007 14:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/#comment-83</guid>
		<description>Dar is a very good backup tool that could deliver diff backups</description>
		<content:encoded><![CDATA[<p>Dar is a very good backup tool that could deliver diff backups</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casey</title>
		<link>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/comment-page-1/#comment-80</link>
		<dc:creator>Casey</dc:creator>
		<pubDate>Tue, 20 Mar 2007 14:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/#comment-80</guid>
		<description>Crazytoon: I believe Steven is saying you can use rsync on the actual dumps.  So, the basic process would be:

1. Create a new SQL file using MySQLdump
2. Rsync the SQL file to your backup server.

Martin does have good advice for incremental backups.  The nice thing about that is when you do a full-backup (once a week?), you can delete the old binary logs to save space.</description>
		<content:encoded><![CDATA[<p>Crazytoon: I believe Steven is saying you can use rsync on the actual dumps.  So, the basic process would be:</p>
<p>1. Create a new SQL file using MySQLdump<br />
2. Rsync the SQL file to your backup server.</p>
<p>Martin does have good advice for incremental backups.  The nice thing about that is when you do a full-backup (once a week?), you can delete the old binary logs to save space.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CrazyToon</title>
		<link>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/comment-page-1/#comment-79</link>
		<dc:creator>CrazyToon</dc:creator>
		<pubDate>Tue, 20 Mar 2007 08:08:37 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/#comment-79</guid>
		<description>Shin:  -9 creates a same size compressed file.  -s creates 135 meg file.  -s is used so bzip doesn&#039;t use too much ram.  therefore its not worth using since ram is not an issue here.

Martin:  we will be looking at replication in near future.  Thanks for binlog comment.  another thing for me to try.</description>
		<content:encoded><![CDATA[<p>Shin:  -9 creates a same size compressed file.  -s creates 135 meg file.  -s is used so bzip doesn&#8217;t use too much ram.  therefore its not worth using since ram is not an issue here.</p>
<p>Martin:  we will be looking at replication in near future.  Thanks for binlog comment.  another thing for me to try.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shinguz</title>
		<link>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/comment-page-1/#comment-78</link>
		<dc:creator>shinguz</dc:creator>
		<pubDate>Tue, 20 Mar 2007 07:19:30 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/#comment-78</guid>
		<description>Have you tried with bzip2 -9 or -s ???</description>
		<content:encoded><![CDATA[<p>Have you tried with bzip2 -9 or -s ???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/comment-page-1/#comment-77</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 20 Mar 2007 07:00:26 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/#comment-77</guid>
		<description>For incremental backup I&#039;d suggest using binary logs. Set max_binlog_size to something small and every time a new binlog file is started, copy the last one (I&#039;m not sure if it is safe to copy the currently used binlog file as well).

Even better would be a replication. Then you get a real-time copy of all transactions. That would also use less resources on the DB server, as all further copying and comression (hourly snapshots etc.) can take place on the backup server.</description>
		<content:encoded><![CDATA[<p>For incremental backup I&#8217;d suggest using binary logs. Set max_binlog_size to something small and every time a new binlog file is started, copy the last one (I&#8217;m not sure if it is safe to copy the currently used binlog file as well).</p>
<p>Even better would be a replication. Then you get a real-time copy of all transactions. That would also use less resources on the DB server, as all further copying and comression (hourly snapshots etc.) can take place on the backup server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CrazyToon</title>
		<link>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/comment-page-1/#comment-76</link>
		<dc:creator>CrazyToon</dc:creator>
		<pubDate>Tue, 20 Mar 2007 05:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/#comment-76</guid>
		<description>Steven:  what am I rsync&#039;ing?  are you talking about rsync&#039;ing the db files themselves?  if so, it does make it hard for us to go back to certain date ad pull data out if needed.

dudus: intresting idea.  I never heard anybody do this... I will look into it.  Thanks!</description>
		<content:encoded><![CDATA[<p>Steven:  what am I rsync&#8217;ing?  are you talking about rsync&#8217;ing the db files themselves?  if so, it does make it hard for us to go back to certain date ad pull data out if needed.</p>
<p>dudus: intresting idea.  I never heard anybody do this&#8230; I will look into it.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Haryanto</title>
		<link>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/comment-page-1/#comment-75</link>
		<dc:creator>Steven Haryanto</dc:creator>
		<pubDate>Tue, 20 Mar 2007 05:31:28 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/#comment-75</guid>
		<description>There&#039;s always rsync :-)

I&#039;ve used rdiff-backup in the past, it&#039;s pretty good albeit not very robust (fails with fatal error a lot in situations where it should have just retried or ignored the error). i&#039;m now using rsync combined with some simple homebrewn script.

Unix&#039;s &quot;cp -la&quot; is also useful :-)</description>
		<content:encoded><![CDATA[<p>There&#8217;s always rsync <img src='http://crazytoon.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I&#8217;ve used rdiff-backup in the past, it&#8217;s pretty good albeit not very robust (fails with fatal error a lot in situations where it should have just retried or ignored the error). i&#8217;m now using rsync combined with some simple homebrewn script.</p>
<p>Unix&#8217;s &#8220;cp -la&#8221; is also useful <img src='http://crazytoon.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dudus</title>
		<link>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/comment-page-1/#comment-74</link>
		<dc:creator>dudus</dc:creator>
		<pubDate>Tue, 20 Mar 2007 03:45:33 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/#comment-74</guid>
		<description>You could keep a backup copy remote and locally. Then everytime you do a new backup you binary diff both and just submit the patch. So onsite you keep only the last one. And off site you keep an old one with several patches.
Then you can apply some of this patches just to clenup once in a while.

Just an idea</description>
		<content:encoded><![CDATA[<p>You could keep a backup copy remote and locally. Then everytime you do a new backup you binary diff both and just submit the patch. So onsite you keep only the last one. And off site you keep an old one with several patches.<br />
Then you can apply some of this patches just to clenup once in a while.</p>
<p>Just an idea</p>
]]></content:encoded>
	</item>
</channel>
</rss>

