An ounce of prevention is worth a pound of cure…
The other day I ran across someone who wasn’t familiar with this phrase. I asked them to double check on something so it wouldn’t be an issue later on (a much larger one) and used the phrase as a nice way of saying I don’t doubt you rather I’d simply like to be certain.
They asked me to repeat the phrase stating they had never heard it before. Since they were much younger I figured they hadn’t been in enough pickles to hear or learn the value of the phrase. Which brings me to the topic of this post.
I wonder if bloggers realize how their data is stored and the possible risks of losing it all? For background let’s look at a few details.
- WordPress itself contains numerous PHP templates.
- Themes are typically PHP templates that are added onto WordPress.
- Plugins and Widgets are typically PHP templates that add to or replace existing WordPress templates.
- All images are stored as separate files.
All of the above are static files such that they aren’t continually updated except when you upgrade to a newer version of WordPress, modify existing templates for Plugins and Widgets or customize the look and feel of WordPress by changing its templates.
Because of this you should ensure you have an available backup of all of the site’s files before making any of these changes. Other wise if you run into any issues you just might not be able to go back to where you were or even worse your blog may stop working entirely.
If the above doesn’t scare you even a little let’s take a minute and look at your blog’s posts. They are stored in a database (MySQL) and the database is in constant motion. Exactly what’s stored in the database?
- Posts
- Pages
- Comments
- Custom fields
- Categories
- Tags
- Additional data created by Plugins, Widgets, and other modifications
In fact the database is so busy in most cases it’s in a locked open condition. Which simply means the data in the database is only available to MySQL. All other means of accessing the data is locked out including most backup utilities.
This prevents a continual backing up of your data which results in your putting the majority of our blog’s work in the greatest jeopardy. All of your posts!
Hopefully by now you realize how an ounce of prevention relates to your blog. More than likely your hosting company can help should any number of issues arise as they will maintain backups. However you can see from the above regardless of the number of backups available based on many different conditions they may or may not be helpful.
As an example you attempt to upgrade to the newest version of WordPress one morning only to find your existing Theme and several of your Plugins no longer function. Well at the same time you are working on resolving the issues your server is being backed up which removes the ability to return your blog back to its prior state by using their most recent backup. Do they keep older backups and what do they charge for restoration? DId the upgrade alter my database structure? All of a sudden the pound of cure becomes very heavy.
With a few precautions you can’t guarantee you won’t run any issues although you can pretty much guarantee no matter what happens you’ll be able to recover reasonable easily and quickly. We recommend the following for an ounce of prevention.
- If you are unsure or have questions before updating your blog contact us for help.
- Before installing verify that Plugins and Widgets are compatible with your version of WordPress.
- Store a copy of all changes made to your blog templates on your local PC.
- Store a copy of all installed Plugins and Widgets on your local PC.
- Store a copy of all of your blog images on your local PC.
- Regularly use the WordPress Manage – Export utility to store a copy of your database data on your local PC.
If you add the above to your blogging routine I think you’ll find it time well spent. Even if you never have to use this ounce of prevention it’s almost a cure just knowing it’s available.