01 08Check the retention period and the contractual guarantee

Guides · Website · Backup

Website Backup: What Your Host Covers and What You Need to Keep Elsewhere

The copy your host includes can fix a recent mistake. To survive a lost account, ransomware or a service shutting down, add an independent copy and test restoring it.

By 11 min readPublished

The short answer

The backup included with web hosting is useful for undoing a recent mistake, but on its own it is not a backup policy. It is kept for a limited time, it may depend on the same account as the site, and the contract does not always guarantee that it works.

Keep at least one copy managed separately from your main hosting, and one copy that is offline or made immutable for the intended period. The 3-2-1 rule gives a simple benchmark: three copies of the data, on two different media, one of them offline. A copy sitting in the same customer account does not meet that last criterion.

Also define two needs with the business: how much data it can afford to lose, and the maximum time to get the service back. Finally, test a full restore of the files and the database. A backup that has never been restored is still a hypothesis.

In the plans reviewed

Check the retention period and the contractual guarantee

The four plans reviewed include or describe very different mechanisms. Retention ranges from 14 to 90 days where it is specified, and some documentation states outright that long-term backup remains the customer’s responsibility. So read the contract and the documentation for the plan you actually bought, not just the “backup included” line on the sales page.

The included backup, plan by plan. Quotations are translated from French.
HostRetention availableWhat the contract or documentation saysRestore tested by the customer?
OVHcloud14 days (files), 30 days (database)“It remains non-contractual […] it is your responsibility to put in place your own restore policy”To verify
IONOS14 days, files and database alike“You are therefore responsible for the long-term backup of your data”To verify
o2switch30, 45 or 90 days depending on the planSelf-service restore, but “destructive” — current data is replaced with no way backTo verify
LWSTo confirm in the plan you bought“LWS is not required to back up the data hosted on the server”To verify

Also check whether the files and the database are copied at the same moment. At OVHcloud, for example, their retention periods differ. Restoring the database from one day and the files from another can create a state that never existed: missing orders, inconsistent accounts or missing media. A full restore must therefore pair compatible copies.

If the main account is compromised

Keep the backup separate from the hosting account

An attacker often tries to delete or encrypt backups to prevent recovery. If the same account lets someone administer the site and erase its backups, the copy can disappear along with the main service.

An offline backup cannot be reached from the protected system. An immutable backup stays readable but cannot be modified or deleted for a set period. These protections are different; a robust policy can use both.

The backup offered in your host’s customer area stays useful for ordinary mistakes. But add a copy with separate authentication, separate admin rights and a separate location.

When the copy stays in the same place

The OVHcloud fire shows the role of the contract

Overnight on March 9–10, 2021, the fire in OVHcloud’s SBG2 building in Strasbourg took about 3.6 million websites offline. Customers whose server and backup were both in the destroyed building, with no copy elsewhere, lost their data.

In one of the lawsuits that followed, the commercial court had awarded €101,102 to a company whose contract promised a backup at a geographically separate site. On appeal, OVHcloud’s breach was recognized, but the limitation-of-liability clause was applied: the compensation was reduced to €1,800.48, six months of subscription fees.

The lesson is twofold: check where the copy actually sits, and read the compensation cap. Even when a host’s breach is recognized, the contract can sharply limit the amount paid. An independent backup protects the data; compensation does not recreate it.

Before a cancellation or a migration

Export your data before the account closes

A host can delete the space and its backups a few weeks after a missed payment or as soon as certain plans are closed. Under the terms reviewed, o2switch announces 30 days after a missed payment and immediate destruction in case of early refund; OVHcloud announces 45 days after the due date.

Before any cancellation, export the files, the database, the hosted emails, the DNS settings, the certificates and any configuration you need. Restore that copy in a test environment, and only after validating it, close the old account.

What not to do

  • Canceling before exporting and testing a complete copy
  • Mistaking the closed space’s backups for an archive the company keeps itself
  • Waiting until the end of the announced period to start a migration
  • Assuming the new provider took over the emails, the DNS and the certificates as well as the site
To organize your copies

Apply the 3-2-1 rule to your site

Keep three copies of the data: the data the site uses, and two backups. Place them on at least two distinct media or services, one copy being offline. ANSSI (France’s national cybersecurity agency) and the CNIL (France’s data protection authority) both adopt this principle as the basis of a backup policy.

For a website, a simple setup could be: the live site, an automatic backup in separate storage, and a periodic offline copy. The two backups must not be deletable with the hosting administration account alone.

See the technical detail: designing and testing your copies

Turn 3-2-1 into a real architecture

Applying the 3-2-1 rule depending on the environment.
EnvironmentWorking copySecond copyOffline or immutable copy
Shared hostingLive site and databaseAutomatic export to managed storage under a separate accountPeriodic encrypted copy, disconnected after the export
Virtual serverLive volumes and databaseSnapshots stored outside the serverExport to another account with deletion blocked for a set period, plus an offline copy depending on the risk
Cloud infrastructureLive service and databaseBackup in a separate backup accountImmutable storage and separate admin identities; offline copy for critical data
Online service with no server accessThe service’s dataAutomatic exports of the data and the configurationExports kept in storage independent of the provider

Another region of the same provider protects against a local outage, but not necessarily against compromise of the main account. A separate account limits that risk without automatically becoming an offline copy. “Off-site,” “separate account,” “immutable” and “offline” describe four different protections; the policy must say which ones are really in place.

Define the acceptable loss and delay

State the business need without jargon:

  1. How many hours of new data can we afford to lose?
  2. How long can the site stay unavailable?

The first number sets the minimum backup frequency. The second sets the restore target, the resources needed and the order in which services come back. Your provider can then document them under the technical names recovery point objective and recovery time objective.

Test a full restore

Run the test in an isolated environment separate from the live site. It should cover:

  1. Retrieving the copy without using a session that is already open
  2. Restoring the files and the database in a coordinated way
  3. Starting the site with test secrets
  4. Opening pages, logging in to an account and displaying the media
  5. For a shop, a test order with no real payment
  6. Measuring the time taken and the data missing
  7. Securely deleting the test environment after validation

What the 3-2-1 formula does not decide

The formula was popularized in 2006 by Peter Krogh in The DAM Book, then adopted by ANSSI and the CNIL. It specifies a number of copies and their separation; it fixes neither their frequency, nor their retention period, nor the restore order. The 3-2-1-1-0 and 4-3-2 variants add other objectives, but they are not official French recommendations.

For mandatory documents

Separate backups from records kept by law

Article 32 of the GDPR requires you to be able to restore the availability of data after an incident and to regularly test the measures in place. An accidental loss of personal data can be a breach even without an attack.

Other laws require certain documents to be kept: ten years for accounting documents and supporting records, six years for invoices under the tax authority’s right of access (droit de communication), five years for payslips. This obligation applies to documents that remain available and usable, not to keeping every daily backup for that whole period.

Archiving keeps the reference versions for the legal period. Backup lets you recover them after a deletion, a failure or an attack. Plan both together, but they do not meet the same need.

What the law requires you to keep, and what backup must guarantee.
DocumentRetention periodWhat backup must guarantee
Accounting documents and supporting records10 yearsA recoverable copy of the archives still subject to this period
Invoices subject to the tax authority’s right of access6 yearsA restore that preserves the document, its format and its link to the relevant financial year
Payslips kept by the employer5 yearsA copy protected from accidental deletion and checked during tests
In 30 minutes

Check that your backup is really usable

This short check does not replace a full, timed restore. It lets you quickly spot a backup that is unreachable, incomplete or dependent on the same account as the site.

  1. 0 to 5 minutes — Find the copy. Identify its location, its date, the account needed to reach it and the retention time remaining.
  2. 5 to 10 minutes — Check the scope. Confirm the copy contains the files, the database, the media and the configuration you need. For an online shop, also check the data that lives in external services.
  3. 10 to 20 minutes — Extract without overwriting. Restore a small set of files and open a database export in an isolated location. Do not use the destructive restore function on the live site.
  4. 20 to 25 minutes — Verify. Check that the files open, that the database export is readable and that the dates match the copy you were told about.
  5. 25 to 30 minutes — Record the result. Note what was tested, by whom, when, how long it took and what was missing. Then schedule a full restore in a test environment.

The 58% failure rate often quoted comes from a software vendor and a sample of large international companies. It should not be presented as an independent French statistic. The useful proof is still the dated result of your own restore.

If personal data is lost

Assess the data breach too

The loss or destruction of personal data can be a breach even without a hack. Document the data affected, the people concerned and the possible consequences. Then check whether the CNIL must be notified and which deadlines apply to the incident.

What to ask your host and your provider

  1. Is the backup included in our plan guaranteed by the contract, and how many days does it stay available?

    The exact clause, the retention period by type of data and any exclusions.

  2. Are the files and the database copied at the same moment, and can they be restored together?

    The times of the two copies and the method used to keep them consistent.

  3. Can a person who controls the hosting account also delete all the backups?

    Separate accounts, rights and deletion mechanisms, or a clear explanation of why there is no separation.

  4. How many hours of data can we lose at most, and how fast must the whole site be back?

    Two durations approved by the business: acceptable data loss and recovery time.

  5. When was a full restore last tested, and what was the result?

    A date, the scope restored, the time measured and the errors encountered.

  6. What happens to our independent copy if we change hosts or the main account is suspended?

    A location and access that stay available independently of the hosting contract.

Sources