<?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: Automating Your mySQL Database Backup On Media Temple&#8217;s Grid-Server</title>
	<atom:link href="http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/</link>
	<description>goSammy is the blog of Sam Lu. I am a web developer who is an Apple fanatic that also likes to discuss tech news and the web.</description>
	<pubDate>Sat, 22 Nov 2008 06:10:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Sam Lu</title>
		<link>http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12475</link>
		<dc:creator>Sam Lu</dc:creator>
		<pubDate>Wed, 12 Nov 2008 03:26:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12475</guid>
		<description>@EtherBunny I can't take credit for the tip, Luca F was the one who actually said it ;)</description>
		<content:encoded><![CDATA[<p>@EtherBunny I can&#8217;t take credit for the tip, Luca F was the one who actually said it <img src='http://www.gosammy.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EtherBunny</title>
		<link>http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12473</link>
		<dc:creator>EtherBunny</dc:creator>
		<pubDate>Tue, 11 Nov 2008 18:42:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12473</guid>
		<description>Sam Lu...Thanks for the tip.  I had the same issue and the abs path fixed it!</description>
		<content:encoded><![CDATA[<p>Sam Lu&#8230;Thanks for the tip.  I had the same issue and the abs path fixed it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luca F.</title>
		<link>http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12446</link>
		<dc:creator>Luca F.</dc:creator>
		<pubDate>Sun, 12 Oct 2008 08:02:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12446</guid>
		<description>for the permission denied, make sure you are using absolute paths...</description>
		<content:encoded><![CDATA[<p>for the permission denied, make sure you are using absolute paths&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Lu</title>
		<link>http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12398</link>
		<dc:creator>Sam Lu</dc:creator>
		<pubDate>Sun, 24 Aug 2008 23:37:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12398</guid>
		<description>Michael, I did find that the script did overwrite the existing sql file when it was run. If it doesn't, you might experience something like what Daniel experienced where report emails would be sent saying that there was a permission issue.</description>
		<content:encoded><![CDATA[<p>Michael, I did find that the script did overwrite the existing sql file when it was run. If it doesn&#8217;t, you might experience something like what Daniel experienced where report emails would be sent saying that there was a permission issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael York</title>
		<link>http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12396</link>
		<dc:creator>Michael York</dc:creator>
		<pubDate>Sun, 24 Aug 2008 05:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12396</guid>
		<description>Sam,

Does this script overwrite the files everytime it is run?

mysqldump –add-drop-table -h internal-db.s99999.gridserver.com -udb99999 -pPASSWORD database_name &#62; database_name.sql

Thanks!
Michael</description>
		<content:encoded><![CDATA[<p>Sam,</p>
<p>Does this script overwrite the files everytime it is run?</p>
<p>mysqldump –add-drop-table -h internal-db.s99999.gridserver.com -udb99999 -pPASSWORD database_name &gt; database_name.sql</p>
<p>Thanks!<br />
Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Lu</title>
		<link>http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12385</link>
		<dc:creator>Sam Lu</dc:creator>
		<pubDate>Sun, 17 Aug 2008 19:02:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12385</guid>
		<description>Hugo, if you follow the steps above but just insert additional commands of the following in your script for each database, it will create dumps of all your databases when it runs!

&lt;code lang="bash"&gt;
mysqldump –add-drop-table -h internal-db.s99999.gridserver.com -udb99999 -pPASSWORD database_name &gt; database_name.sql
&lt;/code&gt;

Be sure to review step one to see which parts of this command you'll need to modify.</description>
		<content:encoded><![CDATA[<p>Hugo, if you follow the steps above but just insert additional commands of the following in your script for each database, it will create dumps of all your databases when it runs!</p>
<div class="codesnip-container" >
<div class="codesnip">mysqldump –add-drop-table -h internal-db.s99999.gridserver.com -udb99999 -pPASSWORD database_name &gt; database_name.sql</div>
</div>
<p>Be sure to review step one to see which parts of this command you&#8217;ll need to modify.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugo Baeta</title>
		<link>http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12382</link>
		<dc:creator>Hugo Baeta</dc:creator>
		<pubDate>Wed, 13 Aug 2008 10:34:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12382</guid>
		<description>Hey! Ihavn't tried this, but can you explain me if there is a way to do this for multiple databases? Like, run the command several times to produce several backups? I have 13 DB's on my grid-server and it's a pain to manually backup everyone, everytime!
Thank for the help! ;)</description>
		<content:encoded><![CDATA[<p>Hey! Ihavn&#8217;t tried this, but can you explain me if there is a way to do this for multiple databases? Like, run the command several times to produce several backups? I have 13 DB&#8217;s on my grid-server and it&#8217;s a pain to manually backup everyone, everytime!<br />
Thank for the help! <img src='http://www.gosammy.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Lu</title>
		<link>http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12372</link>
		<dc:creator>Sam Lu</dc:creator>
		<pubDate>Thu, 07 Aug 2008 17:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12372</guid>
		<description>I was also thinking along those lines Daniel. I can't help out any further but I'm sure the folks at Media Temple (that is, if they are your host) &lt;a href="http://www.mediatemple.net/company/contact_us/index.php" rel="nofollow"&gt;can help you&lt;/a&gt; look into this as it most likely is a user permission issue.</description>
		<content:encoded><![CDATA[<p>I was also thinking along those lines Daniel. I can&#8217;t help out any further but I&#8217;m sure the folks at Media Temple (that is, if they are your host) <a href="http://www.mediatemple.net/company/contact_us/index.php" rel="nofollow">can help you</a> look into this as it most likely is a user permission issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12371</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 07 Aug 2008 11:36:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12371</guid>
		<description>Sam, If I ssh and run the file it creates the .sql files fine, and if I do it again is does overwrites them. But as a cron job it gives permission denied. Is the file run as a different user by the cron job as opposed to me via ssh?</description>
		<content:encoded><![CDATA[<p>Sam, If I ssh and run the file it creates the .sql files fine, and if I do it again is does overwrites them. But as a cron job it gives permission denied. Is the file run as a different user by the cron job as opposed to me via ssh?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Lu</title>
		<link>http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12368</link>
		<dc:creator>Sam Lu</dc:creator>
		<pubDate>Wed, 30 Jul 2008 15:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.gosammy.com/2007/12/30/automating-your-mysql-database-backup-on-media-temples-grid-server/#comment-12368</guid>
		<description>Daniel: I never got that before. Have you SSH'd again and tried doing the dump with the file existing already? I'd try to see if the "Permission denied" error really means that the file can't be overwritten.</description>
		<content:encoded><![CDATA[<p>Daniel: I never got that before. Have you SSH&#8217;d again and tried doing the dump with the file existing already? I&#8217;d try to see if the &#8220;Permission denied&#8221; error really means that the file can&#8217;t be overwritten.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.638 seconds -->
