Backups

How to Download a Backup of Your Website

Introduction

Backups is one of the most important parts of having a working website. It is crucial to backup your files on a regular basis or just before making any substantial changes so that a backup is available in the event of data loss or server breakdown. Even if your hosting provider is doing backups for your account, we recommend performing your own backups for increased redundancy. On most hosting platforms, there are implemented features that will help generate and download a full or partial backup of files or databases.

What you’ll need

Before you begin this guide you’ll need the following:

  • Access to your hosting account control panel

Generating and downloading a full backup in Hostinger control panel

On Hostinger, you may find ready backups available for download in your control panel’s Backups section under the Files category. It will include both the files and databases of an account.

Backups section location in Hostinger control panel

After entering, you will see a list of files each with a unique description.

List of available backups

The Type section specifies whether the file consists of a MySQL Database or Website Files. You may also know the backup generation date by checking the Backup Date section. Once ready, press the Download button near your desired file to begin downloading it to your computer.

It is also possible to Generate a New Backup in case you want the latest copy of your files. Keep in mind that it will override your old backup. To proceed, you will be prompted with a confirmation screen.

Confirming the generation of a new backup

Generating and downloading a full backup in cPanel

To download the files of a website on cPanel hosting platforms, we can usually choose one of the following options:

  1. Automatic Full Account Backup. This type of backup is usually offered with cPanel system and it lets you create a full account backup, including website home directory, MySQL databases, emails and DNS settings. Full cPanel backup is mainly used if you want to transfer your account fully to another hosting provider who is also using cPanel.
  2. Automatic Home Directory Backup. You should choose this option if you want to have a smaller backup that consists of your website files and emails only. It is the simplest way to download a backup of your website files.
  3. Manual Website Backup. With this option, you only save the relevant website files and nothing else. The resulting backup takes the least space compared with the other two options at the expense of being more complicated.

In this tutorial, we will show you how to use each option to download a backup to your computer.

Option 1 — Automatic Full Account Backup

Start off by logging into your cPanel and follow these steps:

  1. In the Files section, click the Backup icon. <br>
    Click Backup icon the Files section to enter Backup management.
  2. Under Full Backup, click Download a Full Website Backup. <br>
    Click Download a Full Website Backup button under Full Backup section.
  3. On the next page, from the Backup Destination drop-down menu select the Home Directory option.
  4. For Email Address, select whether or not you wish to receive an email notification once the backup is complete. You may also change the notification email address in the provided field if you wish.
  5. Click Generate Backup. You will see an info message stating that the backup is in progress. Click Go Back.
    Choose Backup Destination, Email Address and click Generate Backup.

Depending on your account size, it may take a while for the backup to be generated. Under Backups Available for Download, you will see your backup file name with a .tar.gz extension followed by the backup creation timestamp and an [in progress] message while the backup is being generated. Simply refresh the page after a few minutes to check if the [in progress] message is gone. When the message has disappeared, click on the backup file name and download it to your computer.

Refresh the page after a while and check if the in progress message is gone.

Option 2 — Automatic Home Directory Backup

  1. Log into cPanel.
  2. In the Files section, click the Backup icon.
    Click Backup icon the Files section to enter Backup management.
  3. Under Partial Backups->Download a Home Directory Backup, click Home Directory, a download process should commence. <br>
    Click Home Directory to start the download process.

Option 3 — Manual Website Backup

While this option allows you to download exactly what you want, you do need to know where exactly your Website is stored on the account.

  1. Log into cPanel.
  2. In the Files section, click the File Manager icon.
    Click File Manager icon in Files section to enter the File Manager.
  3. In the main window, select the root folder of your Website with a single mouse click. A root folder is the place where all your Website files are located. It is most likely public_html if your website is not installed in any subdomain, subfolder or an addon domain. Otherwise, you may have to dig deeper into public_html and search for your Website’s root folder.
  4. Click Compress in the top menu.
    Select the folder to be compressed and click Compress.
  5. Choose any Compression Type (for compatibility purposes we recommend either Zip or Tar), enter the name for your resulting backup file (or leave the generated one) and click Compress File(s).
    Choose Compression type, enter backup file name and click Compress File(s).
  6. You will see a popup indicating the status of the backup, followed by a Compression Results screen, feel free to Close it.
  7. Locate the generated backup file in the main window and select it with a single mouse click.
  8. Click Download in the top menu to start the download process.
    Select the backup file and click Download to start the download.

Conclusion

In this tutorial we have learned how to quickly download a backup of your website files in Hostinger control panel. We also went over 3 different options to download a backup of your website files using cPanel:

  • Automatic Full Account Backup, giving you a complete account backup while also resulting in the biggest file size.
  • Manual Website Backup, allowing you to create a backup for a specific folder.
  • Automatic Home Directory Backup that is very easy to perform and does not take as much space as the full backup method.

Add Comment

Click here to post a comment