How to Back Up Your Website

How to Back Up Your Website

Overview

Regular backups give you a way to recover your website if something goes wrong.

A backup can be useful before:

  • WordPress updates

  • Plugin or theme changes

  • PHP version changes

  • Website migrations

  • Major configuration changes

  • Database changes

  • Large content updates

  • Troubleshooting potentially destructive problems

Have Freedom Hosting may provide backup and restoration options depending on your hosting plan and account configuration. You can also create your own backups using the tools available in cPanel or your website's software.

This guide explains the general process and the different types of backups you may want to keep.


Before You Begin

Before creating a backup, determine what you actually need to protect.

For a typical website, this may include:

  • Website files

  • Databases

  • Uploaded images and media

  • WordPress files

  • Configuration files

  • Email

  • Other important hosting data

For WordPress specifically, remember that the website consists primarily of files and a database.

Backing up only one does not necessarily give you a complete WordPress backup.


Use Your Hosting Backup System When Available

If your Have Freedom Hosting plan includes a backup system, use the provided backup and restoration tools whenever practical.

The exact options available can vary by hosting plan and server configuration.

Depending on the system available to you, you may be able to:

  • Create backups.

  • Download backups.

  • View existing backup points.

  • Restore files.

  • Restore databases.

  • Restore other account data.

Before relying on a backup system, understand what it includes and how long backups are retained.


Backing Up Your Website Files

Your website files can be backed up by downloading a copy of the website's files.

For a primary domain, website files are commonly located in:

public_html/

However, additional domains and subdomains may use different document roots.

You can identify your website's document root through:

cPanel → Domains


Backing Up Files Using File Manager

For smaller websites, cPanel's File Manager can be a convenient way to create a copy of your website files.

Open:

cPanel → Files → File Manager

Navigate to the document root of the website you want to back up.

For a typical primary website, this may be:

public_html/

You can then create an archive of the website files.

A ZIP archive is often convenient because it keeps many files and folders together in a single file.

After creating the archive, download it to your computer or another secure location.


Why Download the Backup?

Keeping a backup only inside your hosting account provides limited protection.

If something happens to the hosting account itself, the backup stored there could potentially be affected too.

For important websites, consider keeping an additional copy somewhere separate from your hosting account.

For example:

Website
   ↓
Hosting Backup
   ↓
Separate Local or External Backup

The goal is to avoid having a single point of failure.


Backing Up a WordPress Database

WordPress stores much of its important content in a database.

This includes information such as:

  • Posts

  • Pages

  • Users

  • Settings

  • Comments

  • Plugin data

You can access database management through:

cPanel → Databases → phpMyAdmin

Before working with a database, make sure you know which database belongs to the website you are backing up.


Exporting a Database With phpMyAdmin

To create a database backup:

  1. Open phpMyAdmin.

  2. Select the database used by your website.

  3. Choose the database export option.

  4. Use the available export settings.

  5. Start the export.

  6. Save the resulting file somewhere secure.

The exact phpMyAdmin interface may vary slightly depending on the version installed on the server.

For a normal WordPress database backup, the default export options are often sufficient.


How to Find Your WordPress Database

If you aren't sure which database your WordPress installation uses, don't guess.

WordPress normally stores its database information in its configuration file:

wp-config.php

This file is normally located in the WordPress installation directory.

The database name and username listed there can help identify the correct database.

Be careful when viewing or editing this file because it can contain sensitive configuration information.


Backing Up WordPress Completely

For a complete WordPress backup, you generally want both:

WordPress Files
+
WordPress Database

The files provide things such as:

  • WordPress core

  • Plugins

  • Themes

  • Media

  • Configuration

The database provides things such as:

  • Posts

  • Pages

  • Users

  • Settings

  • Other stored website data

Keeping both allows you to recreate a much more complete snapshot of the website.


Backing Up Email

If your hosting account also provides email, determine whether your backup system includes mailboxes and messages.

Website files and WordPress databases are not the same thing as email data.

If your email is particularly important, consider maintaining an appropriate separate archive or backup in addition to your hosting backup system.

Do not assume that backing up public_html also backs up your email.


Backing Up DNS

DNS records are also separate from your website files.

If DNS is managed through cPanel, you can review your records through:

cPanel → Domains → Zone Editor

Your DNS may contain important records for:

  • Websites

  • Email

  • Subdomains

  • Domain verification

  • Third-party services

  • Other applications

If your DNS is managed by your registrar or another DNS provider, those records may need to be backed up separately.


Create a Backup Before Major Changes

Before making a significant change to your website, consider creating a fresh backup.

Examples include:

  • Updating WordPress.

  • Installing a major plugin.

  • Changing themes.

  • Changing PHP versions.

  • Migrating a website.

  • Modifying database content.

  • Changing .htaccess.

  • Performing large file operations.

  • Making major website configuration changes.

A backup taken immediately before the change gives you a useful recovery point if something goes wrong.


Label Your Backups

Good organization makes backups much easier to use later.

Instead of keeping files with names such as:

backup.zip
backup2.zip
backup-final.zip
backup-final-final.zip

use descriptive names containing the website and date.

For example:

example.com-2026-10-06-files.zip
example.com-2026-10-06-database.sql

If you create backups before major changes, you can also describe what the backup was taken before:

example.com-before-wordpress-update-2026-10-06.zip

Keep More Than One Backup

Whenever practical, keep multiple backup points.

For example:

Current
   ↓
Recent Backup
   ↓
Older Backup
   ↓
Longer-Term Backup

This gives you more options if you discover that a problem existed before your most recent backup.

The appropriate number of backups depends on how important and frequently changing your website is.


Protect Your Backups

Backups can contain sensitive information.

They may include:

  • Customer information

  • Website credentials

  • Database contents

  • Private files

  • Configuration information

Treat backups as sensitive data.

Do not:

  • Leave them publicly accessible.

  • Upload them to a public website directory.

  • Share them unnecessarily.

  • Store passwords alongside them.

  • Give unknown people access to them.

If a backup contains sensitive information, protect it appropriately.


Test Your Backups

Creating a backup isn't enough.

You should also know that the backup can actually be used.

For important websites, periodically verify that:

  • The backup file exists.

  • The file can be opened.

  • The database backup can be imported if necessary.

  • The website files are present.

  • The backup contains the information you expect.

For critical websites, testing an actual restoration process is even better.

A backup that has never been tested should not automatically be considered a reliable recovery plan.


Common Backup Problems

"My Backup Is Too Large"

Large websites can produce large backup files.

Consider whether you actually need every file and whether your hosting plan provides a dedicated backup system.

You may also need to download the backup in stages or use a backup tool designed for larger websites.


"I Backed Up the Files, but My WordPress Content Is Missing"

Your WordPress database may not have been included.

Remember:

Files ≠ Database

A complete WordPress backup generally needs both.


"I Can't Find My Database"

Don't guess which database belongs to the website.

Check the WordPress configuration or contact Have Freedom Hosting Support if you need help identifying it.


"I Created a Backup, but It's Still on My Hosting Account"

That's better than having no backup, but it isn't ideal as your only copy.

Download important backups or maintain another independent copy when practical.


"My Backup Was Created After the Problem Started"

That backup may contain the same problem.

When recovering from an incident, identify when the problem first appeared and choose a backup from before that point.


A Simple Backup Routine

For a typical website:

  1. Determine what needs to be backed up.

  2. Check whether your hosting plan provides backups.

  3. Back up website files.

  4. Back up the database if your website uses one.

  5. Account for email and DNS separately when necessary.

  6. Keep an additional copy of important backups.

  7. Label backups with the website and date.

  8. Create a fresh backup before major changes.

  9. Periodically verify that backups are usable.

  10. Remove old backups only when you're sure they are no longer needed.


Need Help?

If you're unsure how to back up your website or what needs to be included, contact Have Freedom Hosting Support.

When asking for assistance, provide:

  • Your domain.

  • What type of website you're running.

  • Whether you're trying to back up files, a database, email, or everything.

  • What you intend to do with the backup.

  • Any error messages you're receiving.

Never include your passwords or authentication codes in a support ticket.

A good backup strategy doesn't have to be complicated. The most important thing is to make sure you have a usable copy of the information you would need if your website suddenly stopped working.

 

  • 0 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Понудени резултати

How to Update WordPress Plugins and Themes

How to Update WordPress Plugins and Themes Overview WordPress plugins and themes add...

How to Update WordPress

How to Update WordPress Overview Keeping WordPress up to date is an important part of...

How to Troubleshoot Common WordPress Problems

How to Troubleshoot Common WordPress Problems Overview WordPress is generally straightforward...

How to Secure Your WordPress Website

How to Secure Your WordPress Website Overview WordPress is one of the most widely used website...

How to Restore Your WordPress Website After a Problem

How to Restore Your WordPress Website After a Problem Overview Sometimes the quickest way to...

Powered by WHMCompleteSolution