How to Download a Backup of Your Website

How to Download a Backup of Your Website

Having website backups is always a relief in the event of data loss or server breakdown. Your hosting provider might provide you with an automatic one, but we recommend performing your own backups for increased redundancy. Hence, in this tutorial, we’ll show you how to download a backup of your site through hPanel and cPanel.

Why Do You Need a Website Backup?

Something could always happen to your website, whether it’s crashed hard drives, hacking attempts, human errors, and many more.

Those instances could result in corrupted files or, even worse, data loss. The time that should be used to grow your business is allocated to recover those files instead.

This is why you need to backup your website regularly. If one of those cases happen, you can avoid permanent data loss by restoring your website files.

Generating and Downloading a Full Website Backup via hPanel

Hostinger automatically creates weekly or daily backups, depending on your hosting plan. As such, you can easily download the backup files by following these steps:

  1. Login to your hPanel and select the Backups menu under the Files section.
  2. Upon entering, you will see a list of website files and databases.This image shows you a list of the backup files in the hPanel
    Here’s a quick break-down of each category:

    • File — tells you the name of the backup files.
    • Size — shows the size of each backup file.
    • Type — specifies whether the file consists of a MySQL Database or website files.
    • Backup Date  — the time and date the backup was created.
    • Action — used to prepare and download the backup files.
  3. Press the Prepare Backup button next to your desired file. Wait for the process to be finished and click Download.This image shows you how to download backup files in hPanel

If you want to have the latest copy of your files, scroll down and click Generate a New Backup. 

This image shows you the Generate a New Backup button in the hPanel

Keep in mind that the new backup will override your old backup files, so proceed with caution!

Generating and Downloading a Full Website Backup via cPanel

cPanel offers several backup options for its users: automatic full backup, partial backups, and manual backup.

Option 1: Automatic Full Account Backup

This type of backup lets you create a full account backup, including website home directory, MySQL databases, emails, and DNS settings. It’s mainly used to transfer your account to another hosting provider.

Start by logging into your cPanel, then follow these steps:

  1. Head to the Files section and choose Backup.
  2. Under Full Backup, press Download a Full Account Backup.
  3. On the next page, head to the Backup Destination drop-down menu, and select Home Directory.This image shows you the cPanel full backup options
  4. Click Generate Backup, and your backups will be generated automatically.
  5. Press Go Back and check whether or not your files are ready for download. If it’s still in progress, wait for a few minutes and refresh the page.
  6. Click the file to download.

Option 2: Automatic Home Directory Backup

This backup is arguably the simplest of the bunch since it’s only a click away. However, it only saves your website files and emails.

To download a home directory backup, simply login to cPanel and head to Backup > Partial Backup.

Then, select Home Directory under Download a Home Directory Backup, and the download process should commence automatically.
This image shows you cPanel home directory backups

Option 3: Manual Website Backup

The last option allows you to backup selected files only. However, the steps are a bit more complicated.

Before proceeding, you need to know where all website files are located (root folder). It’s usually the public_html directory, but it is also possible for your website to be installed in a subdirectory like /w/.

Here’s what you need to do to start the backup process:

  1. Log into cPanel and head to File Manager under Files.
  2. Locate the root folder of your website and right-click to Compress.
    This image shows you how to compress the root folder in cPanel
  3. Choose a Compression Type. We recommend either Zip or Tar, then click Compress File(s).This image shows you the list of compression type in cPanel
  4. Close the Compression Results window and head over to the File Manager to locate the generated file.
  5. Click the file and head to the upper menu bar to Download the files into your computer.

That’s it! Now you’ve backed up all the necessary files of your website.


In this tutorial, we have learned how to download a backup of your website files through hPanel and cPanel. Here’s a quick recap:

  • Generating and downloading backup files through the hPanel’s Backups menu.
  • Creating an automatic full account backup in cPanel.
  • Downloading partial backups from cPanel.
  • Saving the website’s root folder from cPanel.

So, what are you waiting for? Download your backup files and secure your website!


Tomas A.

Tomas is a senior customer support agent at Hostinger. Besides providing top-notch technical advice on a daily basis, he likes to create websites and do various coding side projects.