<?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: cPanel backup using an MS-DOS batch file and wget</title>
	<atom:link href="http://healyourchurchwebsite.com/2004/05/13/cpanel-backup-using-an-ms-dos-batch-file-and-wget/feed/" rel="self" type="application/rss+xml" />
	<link>http://healyourchurchwebsite.com/2004/05/13/cpanel-backup-using-an-ms-dos-batch-file-and-wget/</link>
	<description>Teaching, rebuking, correcting &#38; training in righteous web design.</description>
	<lastBuildDate>Wed, 17 Mar 2010 01:14:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kristen</title>
		<link>http://healyourchurchwebsite.com/2004/05/13/cpanel-backup-using-an-ms-dos-batch-file-and-wget/comment-page-1/#comment-1837</link>
		<dc:creator>Kristen</dc:creator>
		<pubDate>Thu, 13 May 2004 22:17:25 +0000</pubDate>
		<guid isPermaLink="false">http://healyourchurchwebsite.com/2004/05/13/cpanel-backup-using-an-ms-dos-batch-file-and-wget#comment-1837</guid>
		<description>Well, it&#039;s not very automated or technical, but we just download the zip files via FTP, and then after a few times make a CD.</description>
		<content:encoded><![CDATA[<p>Well, it&#8217;s not very automated or technical, but we just download the zip files via FTP, and then after a few times make a CD.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mean Dean</title>
		<link>http://healyourchurchwebsite.com/2004/05/13/cpanel-backup-using-an-ms-dos-batch-file-and-wget/comment-page-1/#comment-1836</link>
		<dc:creator>Mean Dean</dc:creator>
		<pubDate>Thu, 13 May 2004 15:25:06 +0000</pubDate>
		<guid isPermaLink="false">http://healyourchurchwebsite.com/2004/05/13/cpanel-backup-using-an-ms-dos-batch-file-and-wget#comment-1836</guid>
		<description>Kristen, how do you get the backups offsite?</description>
		<content:encoded><![CDATA[<p>Kristen, how do you get the backups offsite?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristen</title>
		<link>http://healyourchurchwebsite.com/2004/05/13/cpanel-backup-using-an-ms-dos-batch-file-and-wget/comment-page-1/#comment-1835</link>
		<dc:creator>Kristen</dc:creator>
		<pubDate>Thu, 13 May 2004 15:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://healyourchurchwebsite.com/2004/05/13/cpanel-backup-using-an-ms-dos-batch-file-and-wget#comment-1835</guid>
		<description>We have three cron jobs that run once a week via the cPanel. The cron job makes the two SQL files from the specific SQL database fields (we have our main site db and then our bugtracking db, and some tables we don&#039;t backup) that we want to back up. Those are simply mysql dumps, to a directory under the root of the server (but not web root). In that folder there is a php script that gets run that simply zips up all of the sql files that are in that directory and gives it the day that it was executed. Then we download the zip files for backup.

Our cron jobs look something like this (the first one specifies the tables, where the second one just gets all of the tables, and the last one runs the PHP script):
cron1: mysqldump -u[USERNAME] -p[PASSWORD] --opt [DATABASE] [TABLE1 TABLE2 TABLE3 ...] &gt; dbbackups/[FILENAME].sql
cron2: mysqldump -u[USERNAME2] -p[PASSWORD2] --opt [DATABASE2] &gt; dbbackups/[FILENAME2].sql
cron3: php dbbackups/zipbackups.php

Our PHP file just has this line in it (I suppose we could have put this into a cron job too, but this allows for porting).
shell_exec(&quot;tar -zcvf &quot;.date(&quot;m_d_y&quot;).&quot;.tar.gz *.sql &quot;);</description>
		<content:encoded><![CDATA[<p>We have three cron jobs that run once a week via the cPanel. The cron job makes the two SQL files from the specific SQL database fields (we have our main site db and then our bugtracking db, and some tables we don&#8217;t backup) that we want to back up. Those are simply mysql dumps, to a directory under the root of the server (but not web root). In that folder there is a php script that gets run that simply zips up all of the sql files that are in that directory and gives it the day that it was executed. Then we download the zip files for backup.</p>
<p>Our cron jobs look something like this (the first one specifies the tables, where the second one just gets all of the tables, and the last one runs the PHP script):<br />
cron1: mysqldump -u[USERNAME] -p[PASSWORD] &#8211;opt [DATABASE] [TABLE1 TABLE2 TABLE3 ...] &gt; dbbackups/[FILENAME].sql<br />
cron2: mysqldump -u[USERNAME2] -p[PASSWORD2] &#8211;opt [DATABASE2] &gt; dbbackups/[FILENAME2].sql<br />
cron3: php dbbackups/zipbackups.php</p>
<p>Our PHP file just has this line in it (I suppose we could have put this into a cron job too, but this allows for porting).<br />
shell_exec(&#8220;tar -zcvf &#8220;.date(&#8220;m_d_y&#8221;).&#8221;.tar.gz *.sql &#8220;);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->