Backup Your Website: You Won’t Miss It Until It’s Gone!

indexofA past client emailed me this morning to say that they had “a problem” with their website, and asked that I take a look at it.

Going to their website, I saw only what is pictured at the left. Then I called their web hosting service and asked them to look at their server logs.  It seems someone with the username and password to the website (a disgruntled employee?) logged in and deleted the entire website.

A website backup isn’t a backup unless you can restore it

Fortunately, this web hosting service backs up the entire site every 24 hours

Unfortunately, each backup overwrites the previous backup, and this site was deleted more than 7 days ago! So we have 7 backup files, each with no data in it. :(   Should I tell you how BAD this is??

Ask your web hosting service how often they backup your website

So how can you learn from this experience? Call you web host and ask them how often they backup.Most good web  hosts backup daily, but don’t count on it. Ask.

Full or incremental website backups?

Then ask your host if these backups are full or incremental. A full website backup is just what it sounds like, a complete backup of your website pages (but probably not your database, see below). This means all current pages are packaged nicely in a single compressed file, and can be readily restored in minutes.

An incremental website backup consists a full backup, and then daily backups of the CHANGES on your web site (again, not including database changes).  Restoring from an incremental backup is a little more work. . . the full backup gets restored, and then every incremental backup since then gets restored.

How long is your backup retained?

This is the crux of the problem with the client I mentioned above. The web hosting service only retains backups for 6 days. Every Sunday, they overwrite last Sunday’s backup, and so on, every day of the week. This works great if you accidentally delete a file and then find out that you made a mistake. It’s quick and easy to restore the file. But if you discover that your website has been hacked more than 7 days ago, you’re out of luck!!  :(

Ask your web hosting service how long they retain a backup. If their schedule works for your situation, no problem. If it doesn’t, ask what other backup options they have.

Where is your backup stored?

Most web hosts store the backup on the same server that your website is hosted on.

Convenient? Yes.

Safe? No!!

When the server fails, and it WILL fail eventually, everything is lost if your backup is on that server, too. I learned this lesson the hard way. Make sure that your backups are stored on a different server.

What about my database(s)?

If you website stores its data in a database (ask your webmaster), you’ll need to make provision to backup the database, too. This is actually the easiest part, ans there are lots of programs available to quickly backup even a very large database into a manageable package. If your website uses a database (and most do these days), backing up that data is even more important that backing up the files on your server. Your webmaster probably has a copy of the original files (check with him/her to be sure), but the most current data is in your database. Be sure you back it up regularly!

Is there an easy way to do this?

Yes. . . in fact there are several easy ways to do this. First, talk with you web host and see what they are willing to do for you. If they want to keep you as a custiomer, they can get pretty creative. Be sure to TEST whatever solution they provide, to make sure you get a complete and reliable backups for both your web pages and database.

If you have access to your CPanel, you can generate a full backup of your website AND its databases in just a few clicks (use the Backup Wizard). Then you can save this backup on you computer at your desk. Where it’s safe and sound. If you use this method, be sure to do it regularly.

You could hire a programmer to create a script that uses the CPanel  backup wizard and that then stores the backups on another server. This is a very good solution. If you go this direction, be sure to thoroughly TEST the integrity of the backups, both the website AND the database(s).

For most small business websites, you could have your programmer create a script that compresses all the web pages and the database, and emails the whole package to you. This could run on a daily or weekly basis, depending on your needs.

There are also several online solutions, although I haven’t tested any of these. This could be a good way to go for some businesses.

One size does not fit all

Your backup needs are different from mine. Think through what you need to accomplish with your backups. How often? Where should they be stored? Who should have access to them? What’s your website worth to you (yes, in dollars and cents)? Would it be worth it to hire someone to custom-build a backup solution for you?

Please don’t end up like my past client, calling me about a website that mysteriously disappeared. . . without a good backup!

Larry Levenson

Larry founded Sigma Web Technologies in 2001, to provide local Internet marketing for local businesses. Sigma Web Technologies is currently engaged in rapid website development, email marketing, database projects, and application development, and is headquartered in Prescott Valley, AZ, USA.

Leave a Reply

Spam protection by WP Captcha-Free