Home » Security » No Website Backups: Set Up Backups You Can Actually Restore

No Website Backups: Set Up Backups You Can Actually Restore

Published 2026-10-03 | Security

No Website Backups: Set Up Backups You Can Actually Restore banner

Most website owners think about backups only after they needed one. A plugin update breaks the site, a hacker defaces it, a team member deletes the wrong page, or a hosting account is suspended. With a recent backup, any of these is an hour's work. Without one, it can mean rebuilding from memory.

What a complete backup contains

A website backup has two parts. Both are needed.

Part What it holds Where it lives
Files Code, themes, plugins, uploaded images and documents, config files The web server's document root
Database Posts, pages, settings, users, comments, orders MySQL / MariaDB / Postgres

A files-only backup restores an empty site. A database-only backup restores content with no images or theme. Also keep a note of things that are not in either: DNS records, email account settings, and environment variables on hosting platforms.

Step 1: check what you already have

Look in your hosting control panel for "Backups", "JetBackup", "Snapshots" or similar. Find out:

  • How often backups run.
  • How many days are kept.
  • Whether you can restore a single file or the database alone.
  • Whether backups are stored on the same server as the site.

Backups kept on the same server can disappear in the same incident.

Step 2: set up automatic backups

For WordPress, plugins such as UpdraftPlus, BlogVault, Jetpack VaultPress Backup or Duplicator Pro schedule backups and send them to external storage (Google Drive, Dropbox, Amazon S3, Backblaze B2).

On your own server, a simple nightly job covers both parts:

mysqldump --single-transaction -u backup -p'...' site_db | gzip > /backups/db-$(date +%F).sql.gz
tar -czf /backups/files-$(date +%F).tar.gz -C /var/www site

Then copy /backups off the server with a tool like rclone or restic, and delete local copies older than a set number of days.

For static sites built from a Git repository, the repository is the backup of the code. Back up anything outside it, like form submissions or uploaded media.

Step 3: keep backups off-site and protected

  • Store at least one copy with a different provider from your host.
  • Use a separate login for backup storage, with two-factor authentication.
  • Keep several versions. If a hack goes unnoticed for two weeks, a backup from yesterday is already infected.

Step 4: test a restore

A backup you have never restored is only a hope. At least once, and after any change to your setup:

  1. Create a staging site or a local copy.
  2. Restore the latest files and database there.
  3. Check that pages, images, logins and forms work.

Write down the steps while you do it. During a real emergency you will be glad of them.

Step 5: back up before risky changes

Take a manual backup before updating plugins or themes, changing PHP versions, editing core config files, or migrating hosts. See outdated CMS and plugins for a safe update order.

Common mistakes

  • Backing up files but not the database, or the other way round.
  • Storing every backup on the same server as the site.
  • Keeping only one backup, which gets overwritten by a broken version.
  • Never testing a restore until the day it is needed.

Frequently Asked Questions

My host makes backups. Is that enough?

It is a good start, but check how often they run, how long they are kept, and whether you can restore them yourself. Keep your own copy elsewhere too, in case the hosting account itself is lost or suspended.

How often should I back up?

As often as you can afford to lose work. A blog updated weekly can back up daily. A shop with orders every hour needs at least daily database backups, and ideally real-time ones.

What is the 3-2-1 rule?

Keep three copies of your data, on two different types of storage, with one copy off-site. For a website, that could be the live site, a host backup and a copy in cloud storage.

Found a mistake or still stuck? Contact us. See how we write and check these guides in our editorial policy, or read about DocumentGuy.

More in Security