<?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: Use PHP to Backup your MySQL Database</title>
	<atom:link href="http://chriscook.me/web-development/backup-mysql-database-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://chriscook.me/web-development/backup-mysql-database-php/</link>
	<description>Homepage</description>
	<lastBuildDate>Wed, 07 Apr 2010 09:59:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Sven Kauber</title>
		<link>http://chriscook.me/web-development/backup-mysql-database-php/comment-page-1/#comment-144</link>
		<dc:creator>Sven Kauber</dc:creator>
		<pubDate>Thu, 04 Feb 2010 19:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://chriscook.me/?p=104#comment-144</guid>
		<description>Thanks for this nice script! Just what I needed for my backup purposes. The hosting company that many of my clients are using does not allow to use mysql and mysqldump commands via the system() - call. That&#039;s why this script is perfect and &quot;just works&quot;.

Here are some small changes I made in order to have the file gzipped on the fly:

$handle = gzopen(&#039;backup-&#039;.time().&#039;-&#039;.(md5(implode(&#039;,&#039;,$tables))).&#039;.gz&#039;,&#039;w&#039;);
gzwrite($handle,$return);
gzclose($handle);</description>
		<content:encoded><![CDATA[<p>Thanks for this nice script! Just what I needed for my backup purposes. The hosting company that many of my clients are using does not allow to use mysql and mysqldump commands via the system() &#8211; call. That&#8217;s why this script is perfect and &#8220;just works&#8221;.</p>
<p>Here are some small changes I made in order to have the file gzipped on the fly:</p>
<p>$handle = gzopen(&#8216;backup-&#8217;.time().&#8217;-&#8217;.(md5(implode(&#8216;,&#8217;,$tables))).&#8217;.gz&#8217;,'w&#8217;);<br />
gzwrite($handle,$return);<br />
gzclose($handle);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Avery</title>
		<link>http://chriscook.me/web-development/backup-mysql-database-php/comment-page-1/#comment-137</link>
		<dc:creator>Ben Avery</dc:creator>
		<pubDate>Tue, 03 Nov 2009 15:18:37 +0000</pubDate>
		<guid isPermaLink="false">http://chriscook.me/?p=104#comment-137</guid>
		<description>A very good backup method, thanks! 

I&#039;ve been looking for a cross operating system compatible approach to this.

Any chance of an equally good way to reverse the process to create a &quot;restore&quot; database?

I have a local MySQL server on a personal computer which runs a very important schedule which gets updated regularly. As it runs on a Windows OS for this project, I&#039;ve been using the php &quot;system&quot; command to backup the database.

Could a restore similar to the way you execute the backup above be written to provide a similar functionality to a cross operating system setting?

Ben</description>
		<content:encoded><![CDATA[<p>A very good backup method, thanks! </p>
<p>I&#8217;ve been looking for a cross operating system compatible approach to this.</p>
<p>Any chance of an equally good way to reverse the process to create a &#8220;restore&#8221; database?</p>
<p>I have a local MySQL server on a personal computer which runs a very important schedule which gets updated regularly. As it runs on a Windows OS for this project, I&#8217;ve been using the php &#8220;system&#8221; command to backup the database.</p>
<p>Could a restore similar to the way you execute the backup above be written to provide a similar functionality to a cross operating system setting?</p>
<p>Ben</p>
]]></content:encoded>
	</item>
</channel>
</rss>
