Never lose your content: protecting the editorial work behind an SME website
The 3-2-1 backup rule applied to the content of an SME website in French-speaking Switzerland, from the texts to the application database: revision history, CMS exports, how long to keep them and the restore test, all to plan into the site’s maintenance.
Contents
The 3-2-1 rule applied to content
In 2012, a guide written for US-CERT, a US government organisation, summed up backup in one rule: keep three copies of any important file, the original and two backups, on two different types of media, with one copy outside your premises (CISA). That is the 3-2-1 rule.
It also applies to the content of an SME website in French-speaking Switzerland. The service pages, articles and product sheets took hours of editorial work: the writing, the choices of tone and keywords, the review with management. If these texts disappear, they have to be rewritten by hand, whereas the code of a versioned site can be rebuilt from its repository.
Protecting this work means applying the rule to four layers of content, then checking that a copy can be restored.
The four layers of content to protect
An SME website run on a CMS rarely contains only one kind of content. Telling the layers of content apart tells you what to protect, and how often:
- Editorial content: the pages, the articles, the product sheets. These are the texts the client proofreads and corrects over the months, and the layer that costs the most to rebuild.
- The CMS history: drafts, intermediate versions, revisions. It is what lets you go back to the wording from three weeks ago.
- The application database: the structured entries the site manages, such as a catalogue of services, a list of client references, saved forms or moderated comments. The client entered them, and they exist nowhere else.
- Media: the photos, visuals and PDF documents uploaded to the CMS. Their cropped, optimised version often exists only there.
Versioning content, change by change
The first protection comes from the way the content is produced. When pages and articles are text files versioned in Git, like the site’s code, every change is dated, attributed to its author and reversible. Finding the wording of a page as it stood on 3 March takes a few seconds, and a writing error or an accidental deletion can be undone. When two people work on the same text, Git merges their contributions and flags the passages changed on both sides.
This journal manages its content that way: each article is a Markdown file versioned in Git. The version of this page from before November 2026 remains in the history, with the date and author of every change.
For content the client manages in a CMS, the same logic applies. WordPress keeps revisions by default and lets you restore one from the editor (WordPress). Payload keeps 100 versions per document unless you change its maxPerDoc setting (Payload). Check that this history is switched on, document who is allowed to publish, and plan a review before a draft goes live.
Regular CMS exports
A CMS’s internal history protects against human error. It does not protect against losing the tool itself: a suspended account, a corrupted database, a provider that closes down. That is the spirit of the “1” in the 3-2-1 rule: a copy that lives somewhere else.
In practice, a scheduled export collects all the structured content from the CMS and its application database, and places it in storage separate from the production tool, in a format you can read and re-import. The form depends on the CMS. WordPress’s built-in export produces an XML file, in WXR format, with the posts, pages, comments, categories, tags and users; the image files are not on that list (WordPress). Exporting a Sanity dataset, by contrast, downloads the documents and the media files into a compressed archive (Sanity).
The frequency depends on how often things change:
- Business website that rarely changes: a weekly export is enough. At worst you lose a week’s changes.
- Site with an active blog: a daily export, because the content changes enough to justify a fresh copy every day.
- Site where the client enters the content (catalogue, references, forms): at least a daily export, keeping successive versions for thirty to ninety days.
Retention: keeping several versions over time
A single export of the content that overwrites the previous one gives poor protection: it assumes you notice a problem within twenty-four hours. Yet some damage to content does not show straight away.
A clumsy edit changes, for example, the tone of ten product sheets. The pages display normally, and nobody notices. Three weeks later, the client realises. If the only available export dates from yesterday, it already contains the error, and you need to be able to go back to the version from before.
Hence the retention rule: several generations of CMS exports, over thirty days for a business website and over ninety days for a site whose content is a company asset.
The same logic applies to the CMS history. A limit set too low erases the memory of the texts: with WP_POST_REVISIONS set to 3, for example, WordPress keeps only three revisions per post or page (WordPress). Set the limit high enough to cover a complete review cycle of the content.
Testing the restore every quarter
Until it has been re-imported, an export of content remains an assumption. The file may be truncated, unreadable or incompatible with the current version of the CMS. A media folder may have lost the paths that link images to pages. Without a test, you find out when you put things back in place, during the incident.
Hence a quarterly habit, to write into the site’s maintenance:
- Retrieve the latest content export.
- Re-import it into a separate review environment.
- Check that the pages, articles and product sheets display with their text intact.
- Check that the media are correctly linked to their content.
- Record the result: duration, sticking points, corrections to make.
If the restore fails, the export was useless, and a quiet test is still the best time to find out. Fix the process straight away.
Common mistakes
- Relying only on the CMS history. The tool keeps an internal memory, very useful against human error. The day it goes down or becomes inaccessible, that memory goes with it. You need a copy of the content outside the tool.
- Forgetting the media. The text is exported, the images are not. The cropped, optimised version of the visuals exists only in the CMS: include it in what you protect.
- Keeping only the latest version of the content. Without depth of history, a mistake noticed three weeks later becomes irreparable. Keep several generations of exports.
- Never testing the re-import. An export that has never been replayed remains an assumption, and only the quarterly check tells you whether it works.
- Letting the process fail silently. A scheduled export that crashes without an alert for two months gives a false sense of security. Set up an alert for failures, and make sure someone reads it.
Start with a check that costs nothing: find the latest copy of your content that exists outside your CMS, note its date, then open it. If you cannot find it, your texts have only one copy, the one the CMS displays, and the 3-2-1 rule asks for three.
See our Maintenance plan: a backup of your website every night and updates checked before they are applied, from the Standard plan up.
Read our article on the editorial calendar: it helps you build the content that deserves protecting.