<?xml version="1.0" encoding="iso-8859-1"?>
 <rss version="2.0">
   <channel>
     <title>cogdogblog: The Dog Ate My Comments Comments and Trackbacks</title>
     <link>http://cogdogblog.com/alan/archives/2005/04/13/comments.php</link>
     <description>Yesterday I was trying to clean out a swath of comment spam on a blog we set up for one of our college's sites, wiping directly from the database, e.g.: DELETE FROM mt_comments WHERE comment_blog_id=XX AND comment_author like "%poker%" DELETE...</description>
     <language>en-us</language>
     <lastBuildDate>Fri, 07 Apr 2006 11:28:39 -0700</lastBuildDate>
     <generator>Movable Type v2.661</generator>
     <ttl>60</ttl>
    <item>
      <title>CDB Entry: The Dog Ate My Comments</title>
      <description>Yesterday I was trying to clean out a swath of comment spam on a blog we set up for one of our college's sites, wiping directly from the database, e.g.: DELETE FROM mt_comments WHERE comment_blog_id=XX AND comment_author like &quot;%poker%&quot; DELETE...</description>
      <link>http://cogdogblog.com/alan/archives/2005/04/13/comments.php</link>
       <pubDate>Wed, 13 Apr 2005 06:56:33 -0700</pubDate>
    </item>
        <item>
     <title>comment by: blalor</title>
     <description>&lt;p&gt;Nothing like a disaster to show you your disaster recovery scripts are broken. :-)&lt;/p&gt;

&lt;p&gt;I really do hate the captcha (?) you've got going on here...  At least the numbers are fairly legible...&lt;/p&gt;

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

&lt;p&gt;#!/bin/bash&lt;/p&gt;

&lt;p&gt;BACKUP_DIR=&quot;/var/backup/mysql&quot;&lt;br /&gt;
STAMP=$(date +'%Y%m%d')&lt;/p&gt;

&lt;p&gt;if [ ! -e ${BACKUP_DIR} ]; then&lt;br /&gt;
    mkdir -p ${BACKUP_DIR}&lt;br /&gt;
fi&lt;/p&gt;

&lt;p&gt;find ${BACKUP_DIR} -ctime +7 -exec rm {} \;&lt;/p&gt;

&lt;p&gt;for db in $(mysql -Bse &quot;show databases&quot;); do&lt;br /&gt;
    mysqldump ${db} | bzip2 --best --stdout &gt; ${BACKUP_DIR}/${db}.${STAMP}.bz2&lt;br /&gt;
done&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;
(bet *that* gets mangled...)&lt;/p&gt;</description>
     <link>http://cogdogblog.com/alan/archives/2005/04/13/comments.php#2458</link>
      <pubDate>Wed, 13 Apr 2005 12:04:35 -0700</pubDate>
     </item>
        <item>
     <title>comment by: Alan Levine</title>
     <description>&lt;p&gt;Yes, I am discovering my technical goofups on a regular, daily basis. I am human and truth be known, pretty much a sloppy programmer.&lt;/p&gt;

&lt;p&gt;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's data just in case.&lt;/p&gt;

&lt;p&gt;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 '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.&lt;/p&gt;

&lt;p&gt;Unless anyonew wants to defend the posting of betiality and incest photo sites to an educational web site??&lt;/p&gt;</description>
     <link>http://cogdogblog.com/alan/archives/2005/04/13/comments.php#2459</link>
      <pubDate>Wed, 13 Apr 2005 12:26:06 -0700</pubDate>
     </item>
        <item>
     <title>comment by: James Farmer</title>
     <description>&lt;p&gt;Dude... c'mon, come over to WP, you know you want to, c'mon now...&lt;/p&gt;</description>
     <link>http://cogdogblog.com/alan/archives/2005/04/13/comments.php#2460</link>
      <pubDate>Wed, 13 Apr 2005 16:55:07 -0700</pubDate>
     </item>
    

 
  </channel>
</rss>