<?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"
	>
<channel>
	<title>Comments on: On-Demand MySQL Backup Shell Script</title>
	<atom:link href="http://www.askapache.com/dreamhost/on-demand-mysql-backup-shell-script.html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.askapache.com/dreamhost/on-demand-mysql-backup-shell-script.html</link>
	<description>Web Development</description>
	<pubDate>Sun, 20 Jul 2008 16:41:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Manu</title>
		<link>http://www.askapache.com/dreamhost/on-demand-mysql-backup-shell-script.html#comment-16672</link>
		<dc:creator>Manu</dc:creator>
		<pubDate>Tue, 18 Sep 2007 04:56:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/dreamhost/on-demand-mysql-backup-shell-script.html#comment-16672</guid>
		<description>This is real Cool Stuff

Thanks Man</description>
		<content:encoded><![CDATA[<p>This is real Cool Stuff</p>
<p>Thanks Man</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://www.askapache.com/dreamhost/on-demand-mysql-backup-shell-script.html#comment-6632</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Wed, 06 Jun 2007 14:12:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/dreamhost/on-demand-mysql-backup-shell-script.html#comment-6632</guid>
		<description>This seems a little over the top for the job required, I have a script which I've setup through dreamhost's cron manager to run daily, and dump all databases, here is what it is:

     &lt;pre&gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&#160;&lt;br /&gt;
DATE1=`date &#124; awk &#039;{print $3}&#039;`&lt;br /&gt;
DATE2=`date &#124; awk &#039;{print $2}&#039;`&lt;br /&gt;
DATE3=`date &#124; awk &#039;{print $6}&#039;`&lt;br /&gt;
&#160;&lt;br /&gt;
THEDATE=&#34;${DATE1}${DATE2}${DATE3}&#34;&lt;br /&gt;
&#160;&lt;br /&gt;
########################### CONFIGURATION START &lt;br /&gt;
&#160;&lt;br /&gt;
ORIGDIR=&#34;/home/stuffatschool/mysql/&#34;&#160;&#160;# original directory to put &lt;br /&gt;
&#160;&lt;br /&gt;
MYSQLHOST=dbhost&#160;&#160;#MySQL Host&lt;br /&gt;
MYSQLUSER=dbuser&#160;&#160;&#160;&#160;&#160;&#160;# MySQL user for dump&lt;br /&gt;
MYSQLPASS=dbpass&#160;&#160;&#160;&#160;# MySQL password for dump&lt;br /&gt;
&#160;&lt;br /&gt;
########################### CONFIGURATION DONE &lt;br /&gt;
cd ${ORIGDIR} # chdir to the right dir&lt;br /&gt;
&#160;&lt;br /&gt;
mysqldump -u ${MYSQLUSER} -p${MYSQLPASS} -h${MYSQLHOST} -A &#38;gt; &#34;./MySQL_${THEDATE}.sql&#34; # dump db&lt;br /&gt;
&lt;/pre&gt;     </description>
		<content:encoded><![CDATA[<p>This seems a little over the top for the job required, I have a script which I&#8217;ve setup through dreamhost&#8217;s cron manager to run daily, and dump all databases, here is what it is:</p>
<pre>
#!/bin/bash
&nbsp;
DATE1=`date | awk &#039;{print $3}&#039;`
DATE2=`date | awk &#039;{print $2}&#039;`
DATE3=`date | awk &#039;{print $6}&#039;`
&nbsp;
THEDATE=&quot;${DATE1}${DATE2}${DATE3}&quot;
&nbsp;
########################### CONFIGURATION START 
&nbsp;
ORIGDIR=&quot;/home/stuffatschool/mysql/&quot;&nbsp;&nbsp;# original directory to put 
&nbsp;
MYSQLHOST=dbhost&nbsp;&nbsp;#MySQL Host
MYSQLUSER=dbuser&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# MySQL user for dump
MYSQLPASS=dbpass&nbsp;&nbsp;&nbsp;&nbsp;# MySQL password for dump
&nbsp;
########################### CONFIGURATION DONE 
cd ${ORIGDIR} # chdir to the right dir
&nbsp;
mysqldump -u ${MYSQLUSER} -p${MYSQLPASS} -h${MYSQLHOST} -A &amp;gt; &quot;./MySQL_${THEDATE}.sql&quot; # dump db
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.askapache.com/dreamhost/on-demand-mysql-backup-shell-script.html#comment-6321</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Fri, 01 Jun 2007 10:56:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/dreamhost/on-demand-mysql-backup-shell-script.html#comment-6321</guid>
		<description>this sounds intersting and practical. nice blog btw.

i understand it's a shell file but how is it used ... 'where do you put it on server, or where do you save it'? will you add documentation for this, readme?

thanks for great tutorials!</description>
		<content:encoded><![CDATA[<p>this sounds intersting and practical. nice blog btw.</p>
<p>i understand it&#8217;s a shell file but how is it used &#8230; &#8216;where do you put it on server, or where do you save it&#8217;? will you add documentation for this, readme?</p>
<p>thanks for great tutorials!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
