<?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: Automated off-site MySQL backups with cron and PHP</title>
	<atom:link href="http://colinmccann.com/code/automated-off-site-mysql-backups-with-cron-and-php/feed" rel="self" type="application/rss+xml" />
	<link>http://colinmccann.com/code/automated-off-site-mysql-backups-with-cron-and-php</link>
	<description>Optimized for 320x200, 8-bit color</description>
	<lastBuildDate>Mon, 16 Jan 2012 14:26:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: admin</title>
		<link>http://colinmccann.com/code/automated-off-site-mysql-backups-with-cron-and-php/comment-page-1#comment-14564</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 18 Aug 2011 16:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://colinmccann.com/?p=19#comment-14564</guid>
		<description>@Travis -- thanks for looking into that!</description>
		<content:encoded><![CDATA[<p>@Travis &#8212; thanks for looking into that!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Travis</title>
		<link>http://colinmccann.com/code/automated-off-site-mysql-backups-with-cron-and-php/comment-page-1#comment-14385</link>
		<dc:creator>Travis</dc:creator>
		<pubDate>Fri, 12 Aug 2011 21:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://colinmccann.com/?p=19#comment-14385</guid>
		<description>@admin:  I&#039;ve done some more digging and it looks like mysqldump already takes care of locking and unlocking tables.  http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html  Like I said, I&#039;m new to this, so maybe I didn&#039;t read that right, but that&#039;s what I got out it..</description>
		<content:encoded><![CDATA[<p>@admin:  I&#8217;ve done some more digging and it looks like mysqldump already takes care of locking and unlocking tables.  <a href="http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html</a>  Like I said, I&#8217;m new to this, so maybe I didn&#8217;t read that right, but that&#8217;s what I got out it..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://colinmccann.com/code/automated-off-site-mysql-backups-with-cron-and-php/comment-page-1#comment-14004</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 27 Jul 2011 06:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://colinmccann.com/?p=19#comment-14004</guid>
		<description>@Travis: That is probably a really good idea, especially once your database starts increasing in size and taking longer to dump. One of these days I&#039;ll get around to updating the script :)</description>
		<content:encoded><![CDATA[<p>@Travis: That is probably a really good idea, especially once your database starts increasing in size and taking longer to dump. One of these days I&#8217;ll get around to updating the script <img src='http://colinmccann.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Travis</title>
		<link>http://colinmccann.com/code/automated-off-site-mysql-backups-with-cron-and-php/comment-page-1#comment-13242</link>
		<dc:creator>Travis</dc:creator>
		<pubDate>Thu, 30 Jun 2011 03:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://colinmccann.com/?p=19#comment-13242</guid>
		<description>What about the need to turn the site off before the backup taken? Or lock the tables then unlock them when the dump is done?

mysql&gt; FLUSH TABLES WITH READ LOCK;

mysql&gt; UNLOCK TABLES;

I&#039;m new to this so be easy on me.</description>
		<content:encoded><![CDATA[<p>What about the need to turn the site off before the backup taken? Or lock the tables then unlock them when the dump is done?</p>
<p>mysql&gt; FLUSH TABLES WITH READ LOCK;</p>
<p>mysql&gt; UNLOCK TABLES;</p>
<p>I&#8217;m new to this so be easy on me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://colinmccann.com/code/automated-off-site-mysql-backups-with-cron-and-php/comment-page-1#comment-3706</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 17 Mar 2010 22:01:29 +0000</pubDate>
		<guid isPermaLink="false">http://colinmccann.com/?p=19#comment-3706</guid>
		<description>Okay, so before I continue this argument, I want to acknowledge that we&#039;re arguing pointless optimizations here that won&#039;t add to actual performance in any significant way...

How about:
&lt;pre class=&quot;jush-php&quot;&gt;// 7 days * 24 hours * 60 minutes * 60 seconds =
$one_week = 604800;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Okay, so before I continue this argument, I want to acknowledge that we&#8217;re arguing pointless optimizations here that won&#8217;t add to actual performance in any significant way&#8230;</p>
<p>How about:</p>
<pre class="jush-php">// 7 days * 24 hours * 60 minutes * 60 seconds =
$one_week = 604800;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://colinmccann.com/code/automated-off-site-mysql-backups-with-cron-and-php/comment-page-1#comment-3650</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 13 Mar 2010 19:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://colinmccann.com/?p=19#comment-3650</guid>
		<description>That would certainly work. However, it&#039;s been my experience that a little bit of processing power (in this case, very little) is a good tradeoff for extended readability. This thing only runs once a day :)</description>
		<content:encoded><![CDATA[<p>That would certainly work. However, it&#8217;s been my experience that a little bit of processing power (in this case, very little) is a good tradeoff for extended readability. This thing only runs once a day <img src='http://colinmccann.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://colinmccann.com/code/automated-off-site-mysql-backups-with-cron-and-php/comment-page-1#comment-3634</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 12 Mar 2010 23:11:50 +0000</pubDate>
		<guid isPermaLink="false">http://colinmccann.com/?p=19#comment-3634</guid>
		<description>I know its a pedantic optimization, but shouldn&#039;t 
&lt;pre class=&quot;jush-php&quot;&gt;$one_week = 60 * 60 * 24 * 7;
&lt;/pre&gt;
be
&lt;pre class=&quot;jush-php&quot;&gt;$one_week = 604800;
&lt;/pre&gt;
?</description>
		<content:encoded><![CDATA[<p>I know its a pedantic optimization, but shouldn&#8217;t </p>
<pre class="jush-php">$one_week = 60 * 60 * 24 * 7;
</pre>
<p>be</p>
<pre class="jush-php">$one_week = 604800;
</pre>
<p>?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

