Key takeaways
- A complete backup is files plus database, stored in at least one place away from your hosting account.
- Back up before every update, and on a schedule that matches how often the site changes.
- A backup you have never restored is only a hope. Test a restore at least twice a year.
- Know who is responsible: many hosts keep backups for their own use, not as a promise to you.
Quick answer: what does a full website backup contain?
A website is made of two parts that live in different places. Missing either one means you cannot rebuild the site.
- Files: your pages, theme, plugins, images, uploads and configuration files (for example wp-config.php on WordPress).
- Database: your actual content and settings. On WordPress this includes posts, pages, users, orders and plugin settings. On a custom system it holds customers, invoices, bookings and so on.
A simple static site with no database needs only files. Anything with a login, a shop, a booking form or a blog almost certainly has a database as well. If you are unsure, ask your developer or look in cPanel for a section called MySQL Databases.
Why backups matter more than most owners think
Websites are lost in ordinary ways, not just dramatic hacks. A plugin update breaks the layout. Someone deletes the wrong folder. A hosting account expires because a renewal email went to an old address. Malware encrypts or defaces files. A developer leaves and takes the only copy with them.
In every one of these cases, a recent clean backup turns a crisis into an inconvenience. Without one, you may be rebuilding from memory, or paying to recreate content that took years to write.
Full backup vs partial backup: which do you need?
Hosting control panels offer different kinds of backup, and the names confuse people.
- Full backup: a single archive of the whole account, including files, databases, email settings and configuration. It is the best for moving to a new host or rebuilding after a disaster. In cPanel it is usually found under Backup, then Download a Full Account Backup. Note that on some hosts a full backup cannot be restored by you from the panel; it is meant to be handed to a host or technician.
- Partial backup: separate downloads of your home directory, each MySQL database and your email forwarders and filters. These are easier to restore one at a time.
- Incremental backup: saves only what changed since the last one. It is efficient for large sites and is how many hosts and backup plugins work.
For most small business sites, the sensible routine is a regular automatic backup of files and database, plus a full account backup before major changes.
How to back up a website in cPanel, step by step
This is the manual method. It works on most shared hosting that uses cPanel, and is a good habit before any big change.
Back up the files
- Log in to your hosting cPanel (usually yourdomain.com/cpanel or the link in your host welcome email).
- Open File Manager and go to public_html (or the folder of the site you want).
- Select everything, right-click and choose Compress. Pick Zip Archive and confirm.
- When the zip appears, right-click it and choose Download. Check the file size is sensible, not zero.
Back up the database
- Back in cPanel, open phpMyAdmin.
- Click your site database in the left list. If you are not sure which one, open wp-config.php (WordPress) and look for DB_NAME.
- Click Export, choose Quick and format SQL, then click Export.
- Save the .sql file next to your files zip.
Or use the Backup tool
In cPanel, open Backup. Under Partial Backups you can download Home Directory and each database in one click. Under Backups you can generate a full backup and be emailed when it is ready.
If a download keeps failing or the site is very large, ask the host to create the backup and give you a link, or use FTP or SFTP with a client such as FileZilla.
How to back up a WordPress website
WordPress has a built-in problem: the files and database are separate, and the visual editor does not save either as a backup. Use one of these:
- A backup plugin. Reputable options include UpdraftPlus, Duplicator and BlogVault. Install one, open its settings, choose a schedule, choose a remote destination (Google Drive, Dropbox or similar) and run a first backup immediately.
- Your host backup tool, if the plan offers one, as a second layer.
- The manual cPanel method above before major changes.
Whichever you use, make sure the plugin backs up both the database and the wp-content folder (themes, plugins, uploads). Once it runs, check that a dated file actually arrives in your cloud storage. A plugin that reports success but fails to upload is a common trap.
The 3-2-1 rule, off-server storage and naming
The 3-2-1 rule is the standard for any data worth keeping: 3 copies of your data, on 2 different types of storage, with 1 copy off-site. For a website that could look like this:
- The live site on the hosting server (copy 1).
- A scheduled backup in cloud storage such as Google Drive or Dropbox (copy 2, off-site).
- A monthly download kept on a laptop or external drive (copy 3, different media).
Never keep your only backup inside the same hosting account. If the account is suspended, hacked or deleted, the backup goes with it.
Naming and retention
Use dates in file names so you can find the right one fast, for example mysite-files-2026-10-31.zip and mysite-db-2026-10-31.sql. Keep the last 7 daily backups, the last 4 weekly ones and the last 3 monthly ones if storage allows. Older clean copies matter because some problems, like slow malware or deleted content, are noticed weeks later.
Protect the backup too. It contains customer data, so use a strong password on the storage account and turn on two-step verification.
How often should you back up your website?
Ask one question: how much new content could I afford to lose? Then back up at least that often.
- Brochure site that rarely changes: weekly or monthly, plus before every edit.
- Blog or news site: daily.
- Online shop, booking or school system with live transactions: daily at minimum, ideally several times a day for the database, because every order is new data.
Add one non-negotiable rule: always take a fresh backup before you update WordPress, a theme, a plugin, PHP or change hosting. Most disasters happen right after an update.
How to test a restore (the step most people skip)
A backup is proven only when you have restored from it. Do this at least twice a year, and after changing hosts or backup tools.
- Create a test location, for example a subdomain like test.yourdomain.com, or a local setup if your developer uses one.
- Upload and unzip the files backup there.
- Create a new empty database and import the .sql file using phpMyAdmin, then update the database details in the config file.
- Open the test site. Check the home page, images, a login, a form and, for shops, a product page.
- Write down how long it took and what went wrong. That note is your recovery plan.
If any step fails, you have just found a problem while it was cheap to fix. Delete the test site afterwards so a copy of your customer data is not left exposed.
Who is responsible for your website backups?
Settle this in writing, because assumptions cause disasters. Typically the owner is responsible for the content, the developer for the build, and the host for the servers. Backups sit in the gap between them.
Ask your host and your developer these questions: Are backups automatic? How often? How long are they kept? Where are they stored? Can I download one myself? Who restores it, and how fast? Keep the answers somewhere you can find them. If nobody owns backups, you own them.
Website backup checklist
- Files and database are both included.
- Backups run on a schedule that suits how often the site changes.
- At least one copy is stored away from the hosting account.
- File names carry dates, and older copies are kept for a sensible period.
- A manual backup is taken before every update or change.
- A restore has been tested in the last six months.
- Backup storage is secured with a strong password and two-step verification.
- Someone is named as responsible and checks the backup log monthly.
When to get help with website backups
Ask a technician if your site is very large, if you run a shop or system with live data, if your host does not offer cPanel or restores, or if the site is already hacked or broken and you are unsure whether a backup is clean. A professional can automate off-server backups, restore without losing recent orders, and rebuild safely.
Frequently asked questions
What is the easiest way to back up a website?
For most owners, install a reputable backup plugin if the site is WordPress, set it to a daily or weekly schedule and send copies to Google Drive or Dropbox. For other sites, use the Backup tool in cPanel to download your home directory and databases, and save them away from the server.
Is my hosting company already backing up my website?
Possibly, but do not rely on it. Many hosts keep backups for their own recovery, may keep them for a short time only, and may not guarantee restores. Ask what is kept, for how long and how to get a copy, and still keep your own off-server backup.
How do I back up a website without cPanel?
Use FTP or SFTP with a client such as FileZilla to download your site files, and export the database with the tool your host provides, often phpMyAdmin or Adminer. If you cannot find these, ask your host or developer for an archive of the files and a database export.
How long should I keep website backups?
Keep recent daily copies for about a week, weekly copies for a month and monthly copies for a few months, if storage allows. Longer retention helps when a problem such as hidden malware or deleted content is only noticed weeks later.
How do I know my backup actually works?
Restore it somewhere safe, such as a test subdomain, and check that pages, images, logins and forms work. A file existing in your storage does not prove it is complete. Repeat the test at least twice a year and after any hosting change.
Can I back up my site from my phone?
You can download a backup that already exists, or trigger one from a plugin dashboard, but large downloads on mobile data are costly and often fail. It is better to let backups run automatically to cloud storage and only check them from your phone.
Should I back up before updating WordPress?
Yes, always. Updates to WordPress, plugins, themes or PHP are the most common reason a working site suddenly breaks. A fresh backup taken just before the update lets you return to the working version quickly if something goes wrong.
This guide is general advice. Every device and business is different, so if you are unsure, ask a technician before you act.