Performancing Metrics

Posts Tagged ‘Backups’

Always Backup Before You Change Anything. Seriously.

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 BloggingPro went offline for a while due to serious hardware failure. As soon as it was fixed all that had to be done was 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: Read More

Categories: WordPress Tips
Tags:

Blogging Pitfalls: Failure to Backup

Everyone knows that you’re supposed to backup your data but how many of us actually do it and, of those who do, how many do it right?

The problem is that far too many bloggers ignore this very crucial security step. Whether it is putting too much trust in their host, not understanding how to backup properly or simply not wanting to put forth the effort, many simply don’t backup their sites and, sadly, often lose months or years worth of work when something goes wrong.

The worst part is that it is a pitfall that can be easily avoided and, thanks to various tools, can be completely mitigated either for free or at very low-cost.

In short, there is no excuse to not backup your site, but there is a lot of reason to worry if you don’t. Read More

Categories: Backups
Tags: , , , , , , , ,

Automate WordPress Database and Files Backup

Regularly backing up your database and files is one of the most important things to do when running a website. One never knows what could happen and the words have become infamous:

I was sure I had a backup.

Most database plugins for WordPress offer the option to weekly backup your database and even email it to you but if you have a popular site, you might want to prefer a more frequent backup routine. Imagine how many posts and comments Gawker would lose if they only kept weekly backups and suffered problems the 6th day after their last backup.

Another problem with all database plugins is that they will not backup your files. With server storage space being really cheap nowadays, you can easily have several backup procedures in place, even if you host many pictures on your blog.

Personally I have three different, totally automated backup routines, using cron jobs:

  1. Daily backup
  2. Weekly backup
  3. Monthly backup

The reason why I also use weekly and monthly backups is because if you have a corrupted database, probably your daily backups will be corrupted and unusable. This can happen on sites you do not use on a daily basis.
Daily backups are overwritten every 7 days, weekly and monthly backups are stored with attached timestamp.

Because most web hosting companies offer cPanel in their package, this tutorial is based on cPanel but the syntax is the same for Plesk and other backends.

What Are Cron Jobs

From Wikipedia:

Cron is driven by a crontab, a configuration file that specifies shell commands to run periodically on a given schedule.

Backing up your database.

In your cPanel (http://yoururl/cpanel) under the header Advanced Tools, you will find a link Cron Jobs. Click this link or click the icon on the right if your cPanel is setup with icons.
On the next page choose Advanced (Unix Style). There is no real difference between both options, the needed attention level is the same and in both simple and advanced you have to fill in the correct command.

Read More

Categories: Backups
Tags: , , ,