<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: The Dog Ate My Comments</title>
	<atom:link href="http://cogdogblog.com/2005/04/13/the-dog/feed/" rel="self" type="application/rss+xml" />
	<link>http://cogdogblog.com/2005/04/13/the-dog/</link>
	<description>Alan Levine&#039;s space for barking about and playing with technology</description>
	<lastBuildDate>Mon, 13 Feb 2012 05:29:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: blalor</title>
		<link>http://cogdogblog.com/2005/04/13/the-dog/comment-page-1/#comment-1253</link>
		<dc:creator>blalor</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/2005/04/13/the-dog-ate-my-comments/#comment-1253</guid>
		<description>Nothing like a disaster to show you your disaster recovery scripts are broken. :-)



I really do hate the captcha (?) you&#039;ve got going on here...  At least the numbers are fairly legible...



I use the following script to back up my MySQL databases; I stuck it in /etc/cron.daily/01MySQLBackup on my Fedora box:



#!/bin/bash



BACKUP_DIR=&quot;/var/backup/mysql&quot;

STAMP=$(date +&#039;%Y%m%d&#039;)



if [ ! -e ${BACKUP_DIR} ]; then

    mkdir -p ${BACKUP_DIR}

fi



find ${BACKUP_DIR} -ctime +7 -exec rm {} \;



for db in $(mysql -Bse &quot;show databases&quot;); do

    mysqldump ${db} &#124; bzip2 --best --stdout &gt; ${BACKUP_DIR}/${db}.${STAMP}.bz2

done





(bet *that* gets mangled...)</description>
		<content:encoded><![CDATA[<p>Nothing like a disaster to show you your disaster recovery scripts are broken. :-)</p>
<p>I really do hate the captcha (?) you&#8217;ve got going on here&#8230;  At least the numbers are fairly legible&#8230;</p>
<p>I use the following script to back up my MySQL databases; I stuck it in /etc/cron.daily/01MySQLBackup on my Fedora box:</p>
<p>#!/bin/bash</p>
<p>BACKUP_DIR=&#8221;/var/backup/mysql&#8221;</p>
<p>STAMP=$(date +&#8217;%Y%m%d&#8217;)</p>
<p>if [ ! -e ${BACKUP_DIR} ]; then</p>
<p>    mkdir -p ${BACKUP_DIR}</p>
<p>fi</p>
<p>find ${BACKUP_DIR} -ctime +7 -exec rm {} \;</p>
<p>for db in $(mysql -Bse &#8220;show databases&#8221;); do</p>
<p>    mysqldump ${db} | bzip2 &#8211;best &#8211;stdout > ${BACKUP_DIR}/${db}.${STAMP}.bz2</p>
<p>done</p>
<p>(bet *that* gets mangled&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Levine</title>
		<link>http://cogdogblog.com/2005/04/13/the-dog/comment-page-1/#comment-1254</link>
		<dc:creator>Alan Levine</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/2005/04/13/the-dog-ate-my-comments/#comment-1254</guid>
		<description>Yes, I am discovering my technical goofups on a regular, daily basis. I am human and truth be known, pretty much a sloppy programmer.



My backup script was fine- it was those pesky file permissions when I moved the directory where the dumps are stored to a new location. Our backups do a bit more. There are hourly saves of everything in one backup file, and than on a daily basis, all databases are backed up as separate dump. Furthermore, we archive the previous month&#039;s data just in case.



And why exactly do people get so bent our of shape on captchas? I have seen the ones where you have to squint a bit to get &#039;em right, but when you compare the extra task of mimic typing in numbers to a total denial of 1000s of Porn, Pills, and Casino attacks, it is a small price to pay.



Unless anyonew wants to defend the posting of betiality and incest photo sites to an educational web site??</description>
		<content:encoded><![CDATA[<p>Yes, I am discovering my technical goofups on a regular, daily basis. I am human and truth be known, pretty much a sloppy programmer.</p>
<p>My backup script was fine- it was those pesky file permissions when I moved the directory where the dumps are stored to a new location. Our backups do a bit more. There are hourly saves of everything in one backup file, and than on a daily basis, all databases are backed up as separate dump. Furthermore, we archive the previous month&#8217;s data just in case.</p>
<p>And why exactly do people get so bent our of shape on captchas? I have seen the ones where you have to squint a bit to get &#8216;em right, but when you compare the extra task of mimic typing in numbers to a total denial of 1000s of Porn, Pills, and Casino attacks, it is a small price to pay.</p>
<p>Unless anyonew wants to defend the posting of betiality and incest photo sites to an educational web site??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Farmer</title>
		<link>http://cogdogblog.com/2005/04/13/the-dog/comment-page-1/#comment-1255</link>
		<dc:creator>James Farmer</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/2005/04/13/the-dog-ate-my-comments/#comment-1255</guid>
		<description>Dude... c&#039;mon, come over to WP, you know you want to, c&#039;mon now...
</description>
		<content:encoded><![CDATA[<p>Dude&#8230; c&#8217;mon, come over to WP, you know you want to, c&#8217;mon now&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

