Back Up Your Websites!
Now that I am getting involved with web hosting, I have been thinking a lot about backups.
Do you back up all your websites? You should!
Your web host might or might not do backups. If they do backups, you don’t know how often they do it. Also, their backups might get lost or be unusable for various reasons. You should not trust your host to do your backups — you should always do your own backups as well.
So how do you do it? If your host has cPanel, this is pretty easy. Sign in to your cPanel, and look for the “Backups” icon.
On the Backups page, you will see two sections.
Full Backup
The first section is called “Full Backup”. This backs up your entire site, including any databases. The only problem is that you can’t restore these yourself. You need to contact your host to do the restore. Still, it could come in handy, and it backs up everything you have into one file.
When you click on the button for the Full Backup, you will see a lot of choices. Don’t be confused. You will not need to fill in most of the fields.
The easiest thing to do is to leave the Backup Destination as “Home Directory”. Fill in your email address if you want to be notified when the backup is done. Then click the “Generate Backup” button.
When you go back to this screen later, when the backup is done, you will see the backup you have taken, under “Backups Available for Download”.
Now you can just click on this file and download it to your computer. You need to do this step of downloading it, because otherwise the backup is just sitting on your host’s server, so if there is a server problem, your backup could be lost too.
Once you have it downloaded to your home computer, you are all set. To be even more careful, you could make a copy of it and store it somewhere else as well (on a zip drive or offsite).
Home Directory Backup
The next section is “Partial Backups”, and under that, the first thing you can do is a “Home Directory Backup”. This will back up all your files and folders, but not your databases.
Just click on the “Home Directory” button, and it will give you a zipped file to download to your computer.
If you need to restore this file later, you can just upload it again under “Restore a Home Directory Backup”.
MySQL Database Backup
If you have any databases, which you will have if you have WordPress installed, you will also need to do a “MySQL Database Backup”. Just click on the database name under “Databases”, and you will get a zipped backup to download.
As before, you just upload and restore it under “Restore a MySQL Database”.
Just be aware, if your server is totally wiped out, you will lose your Database User as well. You will need to create the user and assign the user to the database manually. You do this in cPanel under “MySQL Databases”. I won’t go into detail on this now, but you would look in your wp-config.php file to get the username and password for the user.
It is because of this manual stuff that has to be done, that a “Full Backup” is easier - everything is included. But it requires you to get your host to restore it.
Other Backups
The Backups page in cPanel has two more sections, for “Email Forwarders” and “Email Filters”. If you have either of those set up, you can do backups of those too. They are backed up and restored in the same way as the other Partial Backups. I have never used these myself, but they should be easy to do.
Backup Schedule
So set up a schedule for yourself, and do your backups!
For WordPress, if all you are doing is adding posts, then all you really need to back up often is the database. The other stuff will stay pretty much the same and can be backed up less frequently.
Just don’t neglect this altogether. Even if you only take backups occasionally, at least you will have something to start from if you lose your site, instead of starting from scratch.
– Pat Doyle

RSS Feed
You can never have too many backups! Also, test the backup. Try loading it up onto another system, or into a different database on the same system. You can set up a database on your own computer and load the backup into there. Not only will you know that your backups are good, but you will be able to deal with the gotchas of restoring a database without the added pressure of your site being down.
Thanks, Allan! Great ideas. I’m glad you stopped by
Another great post Pat. Your my site flipping hero. Keep up the great work.
Thanks, Emma! My hosting company should be set up soon.
If you are running a Wordpress blog I highly recommend you install WP-DB-BACKUP plugin (or just Google “wordpress backup plugin”) which allows you to schedule a backup of your blog data. I personally configure it to email the backup file to me so I have the data on my home PC.
That’s a good idea. This way you will not have to remember to do it.
Just learned how important is too backup often. And the hard way. A few days ago the web hosting company lost a hard disk or something and my last backup was a few months old. I had to repost 30-40 articles!
Now I backup daily…
Hi Sam,
Care to share which hosting company it is? (Just the initials are fine
Thanks,
Steve
Hi Steve
Well is hostidea or something like that. I am still waiting for an answer from their part.
Awful support too..moved my stuff away already
[...] urged you to back up your site periodically. But the last time I backed up this site was in January. I did have the wp-db-backup plugin [...]
Ouch, I have victimized myself twice failing to do backups. Lord it hurts. I use Mozy to back up my backups. Its cheap and I never could remember to back up anything anyway. So much for being 62 or is it 3, dunno. Losing months of work due to my failure to do logincal things is not an option anymore from websites to the computer. Backup, backup, backup.
If there is one thing that most people forget, it is having back-ups because they are already relaxed that nothing bad is going to happen and stuff. And when their site or their document has gone down the drain and there in no chance of recovering it, ouch, they already lost a lot. I have to agree that back-ups are very important in businesses or any aspect of projects.