I’m sure you’ve read about if before. Before or after a tutorial on how to improve your site with a script, plugin or just plain regular hack. Read what you ask? To backup first and foremost. As you may have noticed some sites go offline for a while due to serious hardware failure. With a proper backup, all you have to is to restore the backup. I had a similar problem to other day where updating a bunch of modified PHP files via FTP at the same time somehow screwed up the contents of these files and subsequently a lot of data. Boy was I glad I backed up…
Backing up your software sounds like a chore to most of us out there, but I guarantee you you will thank yourself for doing it plus there a plenty of solutions to automate it.
Perhaps you’re not really sure when to backup and when not? Here’s just a few things you could be doing that in my opinion requires a backup first:
- Activating a plugin that uses the database to store it’s settings and other stuff
- Adding a sweet code snippet to your
functions.php
- When you’re about to modify any theme template file.
- Before updating your WordPress installation to the latest WordPress version (on a sidenote: WordPress released it’s 3.0 RC2)
- Adding just a few lines of CSS to any stylesheet
There a few things you should backup on a regular basis:
- Your Theme folder
- The complete contents of
wp-content
- The complete WordPress installation
- Your Database
The frequency of these backup depend entirely on how active your site is, but my general rule of thumb is at least every day. At least. Backing up your theme folder every now and then is only really necessary if you’re one of those people who like to temper with the different template files and your style sheet. But again, better be safe then sorry so there’s really no overkill in these kinds of things.
I know you keep hearing everybody talk about it, but these things ARE really life savers. So confession time: honestly, how well are you prepared for accidental screw ups, hardware failures or even hacked sites? How many times do you back up?
This article first appeared on BloggingPro: The Good And The Bad About Working With Theme Frameworks
Photo Credit: Pong
Leave a Reply