The Site Upkeep Ledger
Guides / Maintenance
Maintenance

Backups and Updates: A Maintenance Routine You Will Actually Keep

Two habits prevent most website disasters: keeping a copy you can restore, and installing updates before someone exploits the gap. Neither needs special skill. Both need a date in the diary.

What a backup has to contain

A backup is a copy of everything needed to put the site back as it was. For a site made of plain files, that is the files. For a site run by a content management system, which is the kind where you log in to edit pages, there are two halves: the files (the software, your theme, your uploaded images) and the database (the text of your pages, your settings, any orders or form entries). A copy of only one half will not bring the site back. When a host or a tool says it "backs up your site", check that it means both.

Where the copy lives matters

A backup stored on the same server as the site protects you from your own mistakes, such as deleting a page. It does not protect you if the server itself fails, if the account is closed, or if an intruder gains access and removes everything they can reach. For that you need a copy somewhere else: a different storage service, or simply a folder on a computer in the office.

A long-standing rule of thumb in computing is to keep several copies, on more than one kind of storage, with at least one held away from the original. You do not have to follow it to the letter. The principle is that no single accident should be able to reach every copy.

A backup you have never restored is a hope

Backups fail quietly. The schedule stops running after a change of password; the storage fills up; the file turns out to be incomplete. The only way to know is to try one. Once or twice a year, download the latest backup and either restore it to a spare test location or, at the least, open it and confirm that the pages, pictures and database are inside and recent. Ask your host how a restore is done before you need one in a hurry.

Before any change: take a fresh backup first. Updating, redesigning, installing something new: all of them are safer when "undo" is a file you made five minutes ago.

Why updates are not optional

Software that runs websites is examined constantly, by its authors and by people looking for weaknesses. When a weakness is found, the authors publish a fix, often called a patch. From that moment the weakness is public knowledge, and sites that have not installed the fix are easy to find and easy to break into, usually by automated tools that try thousands of addresses without caring whose they are. A small bakery's site is not targeted because it is interesting. It is hit because it was left unlocked.

Three layers need updating on a typical content-managed site: the core software, the theme that controls the design, and each plug-in that adds a feature. Add-ons deserve particular care. Each one is code written by a different author, kept up with varying diligence. Remove any you no longer use; a switched-off add-on that still sits on the server can still be a way in.

Updating without breaking things

  1. Take a backup and confirm it finished.
  2. Apply updates one group at a time: add-ons first, then the theme, then the core software, or in whatever order the software's own guidance recommends.
  3. After each group, look at the site as a visitor would. Open the home page, a deeper page, and the contact form. Send yourself a test message.
  4. If something looks wrong, you know which group caused it, and you have a backup from minutes ago.

Many systems can install small security fixes automatically. That is generally worth switching on, since the risk of a minor fix breaking the site is lower than the risk of leaving a known hole open. Larger version jumps are better done by hand, with a backup, when you have time to look afterwards.

The half-hour monthly routine

Put it on the first Monday of the month, or whatever day is quiet for you. If the site is one where there is nothing to update, such as a hosted website builder, the routine shrinks to the last two lines plus an occasional export of your text and images, so you hold your own content if the service ever changes.