<?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>Fri, 17 Feb 2012 09:11:03 +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[@Travis -- thanks for looking into that!]]></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[@admin:  I'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'm new to this, so maybe I didn't read that right, but that's what I got out it..]]></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[@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'll get around to updating the script :)]]></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[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'm new to this so be easy on me.]]></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[







Okay, so before I continue this argument, I want to acknowledge that we're arguing pointless optimizations here that won't add to actual performance in any significant way...

How about:
<!-- Crayon Syntax Highlighter v1.9.2 -->

		<div id="crayon-4fb97f5e63f34" class="crayon-syntax crayon-theme-phiphou crayon-font-monaco crayon-os-pc print-yes" data-settings=" scroll-mouseover" style=" margin-top: 12px; margin-bottom: 12px; float: none; clear: both; ">
		
			<div class="crayon-toolbar" data-settings=" show" style="">
			<div class="crayon-tools"><span class="crayon-mixed-highlight" title="Contains Mixed Languages"></span><a class="crayon-nums-button crayon-button" title="Toggle Line Numbers"></a><a class="crayon-copy-button crayon-button" data-text="Press %s to Copy, %s to Paste" title="Copy Plain Code"></a><a class="crayon-popup-button crayon-button" title="Open Code In New Window" onclick="return false;"></a><a class="crayon-plain-button crayon-button" title="Toggle Plain Code"></a></div></div>
			<div class="crayon-info" style=""></div>
			<div class="crayon-plain-wrap"><textarea wrap="off" class="crayon-plain print-no" data-settings="dblclick" readonly style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; ">// 7 days * 24 hours * 60 minutes * 60 seconds =
$one_week = 604800;</textarea></div>
			<div class="crayon-main" style="">
				<table class="crayon-table">
					<tr class="crayon-row">
				<td class="crayon-nums " data-settings="show" style="">
					<div class="crayon-nums-content"><div class="crayon-num" style="">1</div><div class="crayon-num crayon-striped-num" style="">2</div></div>
				</td>
						<td class="crayon-code"><div class="crayon-pre" style=""><div class="crayon-line" id="crayon-4fb97f5e63f34-1" style=""><span class="c">// 7 days * 24 hours * 60 minutes * 60 seconds =</span></div><div class="crayon-line crayon-striped-line" id="crayon-4fb97f5e63f34-2" style=""><span class="sy">$</span><span class="i">one_week</span><span class="h"> </span><span class="o">=</span><span class="h"> </span><span class="cn">604800</span><span class="sy">;</span></div></div></td>
					</tr>
				</table>
			</div>
		</div>
<!-- [Format Time: 0.0007 seconds] -->
]]></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[That would certainly work. However, it'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 :)]]></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[

























I know its a pedantic optimization, but shouldn't 
<!-- Crayon Syntax Highlighter v1.9.2 -->

		<div id="crayon-4fb97f5e64eac" class="crayon-syntax crayon-theme-phiphou crayon-font-monaco crayon-os-pc print-yes" data-settings=" scroll-mouseover" style=" margin-top: 12px; margin-bottom: 12px; float: none; clear: both; ">
		
			<div class="crayon-toolbar" data-settings=" show" style="">
			<div class="crayon-tools"><span class="crayon-mixed-highlight" title="Contains Mixed Languages"></span><a class="crayon-nums-button crayon-button" title="Toggle Line Numbers"></a><a class="crayon-copy-button crayon-button" data-text="Press %s to Copy, %s to Paste" title="Copy Plain Code"></a><a class="crayon-popup-button crayon-button" title="Open Code In New Window" onclick="return false;"></a><a class="crayon-plain-button crayon-button" title="Toggle Plain Code"></a></div></div>
			<div class="crayon-info" style=""></div>
			<div class="crayon-plain-wrap"><textarea wrap="off" class="crayon-plain print-no" data-settings="dblclick" readonly style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; ">$one_week = 60 * 60 * 24 * 7;</textarea></div>
			<div class="crayon-main" style="">
				<table class="crayon-table">
					<tr class="crayon-row">
				<td class="crayon-nums " data-settings="show" style="">
					<div class="crayon-nums-content"><div class="crayon-num" style="">1</div></div>
				</td>
						<td class="crayon-code"><div class="crayon-pre" style=""><div class="crayon-line" id="crayon-4fb97f5e64eac-1" style=""><span class="sy">$</span><span class="i">one_week</span><span class="h"> </span><span class="o">=</span><span class="h"> </span><span class="cn">60</span><span class="h"> </span><span class="o">*</span><span class="h"> </span><span class="cn">60</span><span class="h"> </span><span class="o">*</span><span class="h"> </span><span class="cn">24</span><span class="h"> </span><span class="o">*</span><span class="h"> </span><span class="cn">7</span><span class="sy">;</span></div></div></td>
					</tr>
				</table>
			</div>
		</div>
<!-- [Format Time: 0.0013 seconds] -->

be
<!-- Crayon Syntax Highlighter v1.9.2 -->

		<div id="crayon-4fb97f5e65e4a" class="crayon-syntax crayon-theme-phiphou crayon-font-monaco crayon-os-pc print-yes" data-settings=" scroll-mouseover" style=" margin-top: 12px; margin-bottom: 12px; float: none; clear: both; ">
		
			<div class="crayon-toolbar" data-settings=" show" style="">
			<div class="crayon-tools"><span class="crayon-mixed-highlight" title="Contains Mixed Languages"></span><a class="crayon-nums-button crayon-button" title="Toggle Line Numbers"></a><a class="crayon-copy-button crayon-button" data-text="Press %s to Copy, %s to Paste" title="Copy Plain Code"></a><a class="crayon-popup-button crayon-button" title="Open Code In New Window" onclick="return false;"></a><a class="crayon-plain-button crayon-button" title="Toggle Plain Code"></a></div></div>
			<div class="crayon-info" style=""></div>
			<div class="crayon-plain-wrap"><textarea wrap="off" class="crayon-plain print-no" data-settings="dblclick" readonly style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; ">$one_week = 604800;</textarea></div>
			<div class="crayon-main" style="">
				<table class="crayon-table">
					<tr class="crayon-row">
				<td class="crayon-nums " data-settings="show" style="">
					<div class="crayon-nums-content"><div class="crayon-num" style="">1</div></div>
				</td>
						<td class="crayon-code"><div class="crayon-pre" style=""><div class="crayon-line" id="crayon-4fb97f5e65e4a-1" style=""><span class="sy">$</span><span class="i">one_week</span><span class="h"> </span><span class="o">=</span><span class="h"> </span><span class="cn">604800</span><span class="sy">;</span></div></div></td>
					</tr>
				</table>
			</div>
		</div>
<!-- [Format Time: 0.0012 seconds] -->

?]]></content:encoded>
	</item>
</channel>
</rss>

