AutoMySQLBackup (Monthly)

| | Comments (0)

The contents (text) of mac5 are all stored in a MySQL database. I use a script called AutoMySQLBackup to run daily, weekly, and monthly backups of the contents. These "dumps" are then copied over every night by Retrospect to a backup server (currently Mac17's external Seagate drive.)

I routinely check these to make sure they are running by inspecting the contents of a recent dump. I noticed in the monthly set that besides "mt_fiveforks" was another database "mysql". Went on a wild goose chase looking under the /etc/periodic/monthly script and couldn't even find AutoMySQLBackup. Turns out the monthly (and weekly) runs are all addressed in a single daily script under /etc/periodic/daily. Oh. Right. Set it up 3 years ago... who can remember.

Turns out I had not noticed an extra "advanced" setting that had a default database "mysql" in it, and so I was backing up a default, empty database every day for the past several years. Not much space, and easy enough to correct. While there decided I should add the gallery2 database (which holds photo titles, descriptions, and comments.)

So on OZ in
HD2:private:etc:periodic:daily:automysqlbackup.sh are two lines:
DBNAMES="mt_fiveforks gallery2"
MDBNAMES="mt_fiveforks gallery2" <-under advanced settings


Leave a comment

About this Entry

This page contains a single entry by Jeb published on June 8, 2008 11:30 AM.

Movable Type 4 was the previous entry in this blog.

SMTP Inbound on Domino is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.1

Breadcrumbs

08/26
Credit Card Tune-Up: Calculate the Best Credit Card Reward Dea
Based on your credit card use, find best rewards options. (TIP: CASH.) Featured on Cl..

08/26
The MacPorts Project -- Download & Installation
Fink-like installer for Mac. Note Tiger vs. Leopard versions

08/24
The MacPorts Project -- Home
Fink for Mac

08/24
MT-Twitter: A Movable Type Plugin | Brandon Fuller
Movable Type will go get and post new tweets

08/23
Alan Parsons 2005 Interview
Just ordered "The Turn of a Friendly Card" and Tales of Mystery and Imagination" to a..

08/23
Drag 'n' Drop Printing | Printing + PDF | Mac OS X Tips
If those in your family can't remember to look under system preferences for Prin..

08/23
Pink Floyd news :: Brain Damage - Pink Floyd - The Final Cut (2004 Rem..

08/22
Making Remote Check Deposit Real
HFS is quoted. USAA's flatbed scanning mentioned in comments. $40 trillion in ch..

08/18
Event ID 2003 Warning Message Logged When Loading Performance Counters
repairing W3Ctrs system error

08/17
10009 DCOM error - View topic • MonitorWare Knowledge Base •
On Yoda, I removed all but TCP/IP. Removed: SPX, NetBeui, Netbios over IPX

Generated by Feed Informer