Why such a post you ask?Â Why should you backup your WordPress database (or any database for that matter)?Â Because if you are like me, sometimes you name your databases names that have nothing to do with your web application.Â Take my Timeshare blog for instance.Â Yes, I have it running off of WordPress and yes I have it running from mySQL database.Â But, why, can anyone tell me why I named the database Cloth_Diaper?Â Who knows, but this is a moot point. Now on to my stupidity wiht naming databases and not backing them up:
Just last week I was thrilled that I had many peronally hand written articles about timeshares on my timshare blog.Â I then decided to take a look at my servers, clean things up, get rid of files and all kinds of other stuff.Â Well hey, lookie there…phpMyadmin tells me that there is a database out there called Cloth_Diaper.Â I thought to myself…What the heck could that be…just something taking up space.Â Heck, I don’t even need to back that thing up (Some of you are singing that Back that Thing Up song…I can tell) so with one quick click I DROPPED that table.Â I DROPPED IT LIKE IT’S HOT. hehe.Â Ok, I’ll stop.Â
But continuing on, I notice my Adsense revenue was dropping and couldn’t figure out why.Â Well, I decided that maybe I should write another post to the timeshare blog.Â I then go to my book marks and log into the blog.Â But wait.Â What the crap?Â I get the ole Error Connecting to …to…CLOTH_DIAPER database?Â Great… yep, good old smart Tony Rocks dropped his blood, sweat and now tears of a database that practically paid for his new car through Adsense.Â And yes, as you may have surmised, I didn’t have a backup to restore.
So there you have it…make sure you backup your WordPress database.Â I think the new version even has a backup feature.Â Oh whoa is me.Â Now I’m back to just two articles on the timeshare blog :(