Meregate.com
Sunday, November 29, 2026
Home › Computers › How to Backup a Website: A Simple Step-by-Step Guide (2026)

How to Backup a Website: A Simple Step-by-Step Guide (2026)

How to Backup a Website: A Simple Step-by-Step Guide (2026)

Learning how to backup a website is one of the most useful things a site owner can do. A backup is a saved copy of your whole site. If something breaks, you can put the copy back and get your site working again in minutes instead of days.

This guide is for people who own a website and want to protect it. It covers what a backup should include, how often to make one, five ways to do it, and how to restore your site when something goes wrong. It works for WordPress sites and for sites built on other platforms too.

What Is a Website Backup?

A website backup is a full copy of everything that makes your site work. A complete backup has two parts:

  • Files: your pages, images, themes, plugins, and code.
  • Database: your posts, pages, comments, user accounts, and settings. On WordPress, most of your content lives in the database.

Backing up only the files is not enough. If you lose the database, you lose your posts and pages. A real backup always includes both parts. Some sites also need their email accounts and server settings saved, which we cover below.

Laptop showing a website on screen
Source: Pexels

Why You Need to Back Up Your Website

Most site owners only think about backups after something goes wrong. These are the four most common reasons a backup saves the day:

  • Hacking: attackers change or delete files, add spam links, or lock you out. A clean backup lets you wipe the hacked files and put back a safe copy.
  • A bad update: a theme, plugin, or WordPress update can break your site or show a blank page. A backup made before the update lets you go back in minutes.
  • Accidental deletion: one wrong click can delete a page, a set of images, or a whole folder. Backups turn a disaster into a small fix.
  • Host or server failure: servers fail. If your host loses data and has no copy of your site, your only way back is your own backup.

Your hosting company may keep backups for you, but those are not a promise. Many hosts keep them for only a few days, store them on the same server as your site, or charge extra to restore them. Your own backup is the only copy you fully control.

How Often Should You Back Up Your Website?

There is no single right answer. It depends on how often your site changes. Ask yourself: how much new content can I afford to lose? That answer sets your schedule.

Site typeHow oftenWhy
Static site that rarely changesOnce a monthAlmost nothing changes, so a monthly copy is enough.
Blog updated weeklyOnce a weekYou lose at most one week of posts.
Blog or business site updated dailyOnce a dayDaily posts and comments need daily copies.
Online store or membership siteDaily, or in real timeEvery order and new member matters. Losing a day of orders costs real money.

Also make a backup before any big change: a redesign, a move to a new host, a major update, or installing a new plugin. A backup made five minutes before a change is worth more than a scheduled one from last week.

Method 1: Back Up Your Website in cPanel (Free, Manual)

If your host uses cPanel, you can make a full backup by hand. It costs nothing and takes about 10 minutes once you know the steps.

Step 1: Back up your files

  1. Log in to cPanel and open File Manager.
  2. Open the public_html folder. This is where your site files live.
  3. Select all files and folders, then click Compress to make a ZIP file.
  4. Download the ZIP file to your computer.

Step 2: Back up your database

  1. In cPanel, open phpMyAdmin.
  2. Click your site’s database in the left menu. If you run WordPress and are not sure which database it is, open the wp-config.php file in File Manager and look for the line that starts with DB_NAME.
  3. Click the Export tab, leave the format as SQL, and click Go.
  4. Save the .sql file on your computer, next to your files ZIP.

You now have a full backup: files plus database. Keep both files together and label them with the date, for example backup-2026-11-29.zip.

A faster way: the Backup Wizard

cPanel also has a Backup Wizard that downloads a full backup in one click. It works well for keeping a copy, but note one limit: a full cPanel backup cannot be restored through the cPanel interface itself. It is mainly useful for moving your site to a new server or keeping a spare copy. For restores, the manual method above (files plus database) gives you more control. The cPanel Backup Wizard docs explain both options in detail.

Method 2: Use a WordPress Backup Plugin (Free, Automatic)

If your site runs on WordPress, a plugin is the easiest option. The plugin does the work on a schedule and sends the backup to cloud storage.

UpdraftPlus is the most widely used free backup plugin. Here is how to set it up:

  1. In your WordPress dashboard, go to Plugins > Add New and search for UpdraftPlus. Install and activate it.
  2. Go to Settings > UpdraftPlus Backups and click the Settings tab.
  3. Pick how often to back up files and the database. Daily is a good start for most sites.
  4. Choose where to store the backup: Google Drive, Dropbox, Amazon S3, or another cloud service. Do not store your only backup on the same server as your site.
  5. Click Save Changes, then click Backup Now to make your first backup.

Other free plugins work the same way, such as Duplicator, which is also popular for moving a site to a new host. Paid versions of these plugins add scheduled backups to more storage services, one-click restores, and support for larger sites.

Method 3: Back Up by FTP and Database Export (Any Host)

If your host does not offer cPanel, you can still back up by hand with an FTP client such as FileZilla, which is free.

  1. Connect to your site with FTP using the login details from your host.
  2. Download the whole site folder (usually public_html or www) to your computer. Large sites can take a while, so let it run.
  3. Log in to your database tool (often phpMyAdmin, which most hosts provide) and export the database as a .sql file, the same way as in Method 1.
  4. Store both downloads together in a dated folder.

This method works for almost any site: WordPress, custom code, or a static site. The only extra step for non-WordPress sites is finding the database. If your site has no database (a plain HTML site), the files alone are the full backup.

Method 4: Use Your Host’s Built-In Backup

Many hosts include automatic backups in their plans. Check your hosting dashboard for a backup section. Some hosts back up daily and let you restore with one click.

Host backups are useful, but do not rely on them alone:

  • They may not be guaranteed. Some hosts call them “courtesy backups” and can delete them at any time.
  • They may be short-lived. A host that keeps only 7 days of backups cannot help you if a problem is found two weeks later.
  • They live on the same server. If the server itself fails, the host’s backup may be gone with it.
  • Restores may cost extra. Some hosts charge a fee to restore from their backup.

Use the host backup as a safety net, and keep your own copy somewhere else too. That is the whole point of the next section.

Method 5: Use a Paid Backup Service

Paid services handle backups for you: automatic daily copies, off-site storage, one-click restore, and monitoring that tells you if a backup fails. They are a good fit if you run a store or a business site and cannot afford downtime.

Well-known options include CodeGuard, BlogVault, and Jetpack VaultPress. Prices vary, and most start at a few dollars a month for one site. Some desktop tools, such as Handy Backup, sell a one-time license instead (its Small Business edition costs $249). Before you pay, check three things: how long backups are kept, whether restores are one-click, and whether there is a size limit on your site. A service that caps storage at 1 GB will not hold a typical 2–3 GB WordPress site.

Free vs Paid: Which Backup Method Should You Choose?

MethodCostBest forWatch out for
cPanel manual backupFreeSmall sites, one-time copiesYou must remember to do it; no automation.
WordPress plugin (free version)FreeWordPress sites on a budgetFree plans may limit storage services and schedule options.
FTP + database exportFreeAny host, any platformTakes the most time; easy to forget a step.
Host built-in backupIncluded or extraQuick restoresShort retention, may not be guaranteed, same-server storage.
Paid backup serviceA few dollars a month and upStores, business sitesCheck retention, size limits, and restore options first.

For most small sites, a free plugin with automatic daily backups to cloud storage is enough. For a store, a paid service is worth the cost because one lost day of orders can cost more than a year of the service.

How to Restore a Backup

A backup is only useful if you can put it back. Here is how to restore, for the two most common setups.

Restore a WordPress backup from a plugin

  1. In your WordPress dashboard, open your backup plugin (for example, UpdraftPlus).
  2. Find the backup date you want and click Restore.
  3. Pick what to restore: files, database, or both. For a full fix, restore both.
  4. Click Restore again and wait. Do not close the page while it runs.
  5. Visit your site and check that pages, images, and forms work.

Restore a manual cPanel backup

  1. Upload your files ZIP to the site folder with File Manager or FTP, then extract it. Replace the broken files.
  2. In phpMyAdmin, open your database and click the Import tab.
  3. Choose your saved .sql file and click Go.
  4. If the database is new or empty, create it first in cPanel under MySQL Databases, then import into it.
  5. Check your wp-config.php file: the database name, username, and password there must match the database you just imported into.
  6. Visit your site and test it.

If a restore fails

  • The backup file may be damaged. Try an older backup from a different date.
  • The file may be too large to upload. Ask your host to raise the upload limit, or upload it by FTP instead.
  • The database import may stop halfway. This often means the file is too big for phpMyAdmin. Split the file or ask your host to import it for you.
  • The site shows an error after restore. Check wp-config.php first: a wrong database name or password is the most common cause.

You can also restore a single file instead of the whole site. If only one image or page is broken, upload just that file from your backup and leave the rest alone.

Woman working on a laptop
Source: Pexels

How to Test Your Backup (Do Not Skip This)

A backup you have never tested is a guess, not a safety net. Test yours at least once every three months, and always after you change your backup method.

  1. Make a test copy: use a staging site or a subdomain your host provides. Many hosts offer one-click staging.
  2. Restore the backup there, using the same steps as above.
  3. Check the test site: open the home page, a few posts, and a form. Log in to the dashboard. If it all works, your backup is good.
  4. Write down the date you tested it, so you know when the next test is due.

If you have no staging option, test on your computer with a local WordPress install. The goal is the same: prove the backup works before you need it.

Where to Store Your Backups: The 3-2-1 Rule

Follow the 3-2-1 rule: keep 3 copies of your site, on 2 different types of storage, with 1 copy off-site.

  • Copy 1: your live site.
  • Copy 2: a backup on cloud storage (Google Drive, Dropbox, or Amazon S3).
  • Copy 3: a backup on an external hard drive or a second cloud service.

Never keep your only backup on the same server as your site. If the server fails, both are gone. Also protect your backup files: they contain your database passwords and user data, so keep them in a private folder, not a public one, and use a strong password on the storage account.

Common Backup Mistakes to Avoid

  • Backing up files but not the database. Your content lives in the database. Without it, you have a shell with no posts.
  • Storing the only backup on the same server. A server problem can take both the site and the backup.
  • Never testing a restore. A broken backup found during an emergency is worse than no backup at all, because it wastes time you do not have.
  • No schedule. A backup from six months ago will not save the posts you wrote last week.
  • Keeping backups forever. Old backups pile up and cost storage space. Keep the last 30 days of daily backups and one monthly copy for a year, then delete the rest.
  • Forgetting email and settings. If your site uses email accounts on the server, back those up too. In cPanel, the mail folder holds them.

Website Backup Checklist

  • Back up both files and database.
  • Set a schedule that matches how often your site changes.
  • Store at least one copy off-site (cloud storage or external drive).
  • Make a backup before updates, redesigns, and host moves.
  • Test a restore every three months.
  • Keep backup files private and password-protected.
  • Delete very old backups to save space.

Frequently Asked Questions

Can I back up my entire website?

Yes. A full backup includes all your files and your database. On WordPress, a backup plugin does both in one click. By hand, you download the files with File Manager or FTP and export the database from phpMyAdmin.

How often should I back up my website?

It depends on how often the site changes. A static site needs a monthly backup. A blog updated weekly needs a weekly backup. A site updated daily, or an online store, needs a daily backup. Always back up before big changes such as updates or a redesign.

Do I need my own backup if my host already backs up my site?

Yes. Host backups are a useful safety net, but they are often kept for only a few days, stored on the same server, and not guaranteed. Your own off-site backup is the only copy you fully control.

What is the best free way to back up a WordPress site?

A free backup plugin such as UpdraftPlus, set to back up daily to Google Drive or Dropbox, is the best free option for most WordPress sites. It is automatic, so you do not have to remember to run it.

How do I restore my website from a backup?

With a plugin, open the plugin, pick the backup date, and click Restore. By hand, upload your saved files back to the site folder and import your saved database file in phpMyAdmin. Then check that the site works.

How do I know my backup actually works?

Test it. Restore it on a staging site or a subdomain and check that pages, posts, and forms work. If the test site works, the backup is good. Test at least once every three months.

Final Thoughts

Backing up a website is simple, quick, and free to start. Pick one method from this guide, make your first backup today, and set a schedule so it keeps happening on its own. Then test a restore once, so you know the backup works. The ten minutes you spend now can save you days of lost work later.

Last updated: November 2026

Taylor Orlando

Taylor Orlando is a content writer at Meregate covering websites, SEO, and AI. Taylor breaks down complex topics into simple, practical guides that help small businesses build better websites, rank higher on Google, and get real value from AI tools — no jargon, no fluff.

Related Articles