FAQ Backups & Recovery

What should a website backup include?

A full backup is your files and your entire database taken together, and here is exactly what belongs in each half.

Updated 5 min read Beginner

At minimum: every file used to serve the site, and a complete copy of every database it depends on, taken at roughly the same time. Anything less than both halves together is a partial backup, not a full one, and the gap usually only becomes obvious the day you try to restore and find half of what you need is missing.

The two things every dynamic site needs

PartWhat it holdsWhere it lives
FilesApplication code, themes, plugins or modules, every uploaded image or document, and configuration filesThe web root of your hosting account
DatabaseContent, users, settings, comments, and for a shop, every order and customer recordMySQL, stored separately from the files

Restore only the files and you get a site with no content in it. Restore only the database and you get content with no theme and no uploaded images to display alongside it. A backup only counts as complete when both are present and were taken close enough together that one is not describing a version of the site the other no longer matches.

Inside "files", more than people expect

  • The application itself — WordPress, another CMS, or a custom codebase.
  • Themes, plugins, or modules, including any that are inactive but still installed.
  • Every upload: images, documents, videos, anything a user or an editor has added over the site's life.
  • Configuration files such as .htaccess, which control how the server handles requests and are easy to forget because they are hidden by default in most FTP clients.
  • Any file holding database connection details or site-specific settings, since a restore without it means the application has no idea how to find its own data.

Inside "database", more than the obvious content

It is easy to picture a database backup as just "the posts and pages", but a full export needs to cover everything a genuine restore would need, including:

  • Every table the application created, not a hand-picked subset — some tools default to backing up content tables only, which quietly leaves settings and custom data behind.
  • User accounts and their hashed passwords.
  • Site settings and configuration stored in the database rather than in a file.
  • Comments, reviews, or any other user-generated content.
  • For a shop specifically: orders, customer records, and stock levels — often the most valuable data on the entire site and the least replaceable if it is missing.

What a backup often quietly leaves out

A few things sit just outside the usual "files plus database" picture, and are easy to assume are covered when they are not:

  • Email. Mailboxes are frequently backed up separately from the website itself, or not at all by default. Backing up your email covers this as its own task rather than assuming a site backup includes it.
  • DNS records. Not part of the site itself, but needed to point a domain correctly again after certain kinds of disaster. Keeping a written note of your current DNS records somewhere separate is cheap insurance most people skip.
  • SSL certificates. Rarely worth backing up deliberately, since a lost certificate is normally reissued rather than restored from a copy — but worth knowing that it is not part of a standard files-and-database backup either way.

If your site is entirely static

A static HTML site with no database has a simpler answer: the files are the whole backup. There is no second half to worry about, though everything in the files list above — including any hidden configuration files — still applies.

Confirm what your own backup actually covers

What a specific backup tool or hosting plan includes by default varies, and can change over time, so treat the checklist above as what to look for rather than an assumption about what you already have. Check the settings of whatever backs your site up — an automated plan feature, a plugin, or your own scheduled export — and confirm it covers files and database together, not one or the other by default. If it is not clear from the settings themselves, the client area or our support team can confirm exactly what is included on your current plan. Does my host back up my site for me? goes into that question in more depth.

The only way to know for sure

A checklist tells you what should be there. The only way to know a specific backup actually has it all, correctly, is to restore it somewhere and look. Testing that a backup works covers doing exactly that, and it is worth five minutes the first time you set any backup routine up, rather than discovering a gap on the day you actually need the file.

Related reading