How to Restore Backups at Hostinger

Restoring a website from automated backups at Hostinger

Updated 2 weeks ago

At Hostinger, you can easily restore your website files and databases to a previous state using the existing automated backups.

This procedure doesn’t apply to websites created with Hostinger Website Builder. In such a case, take a look here: Website Builder: How to create and restore website backups.

Initial considerations

Before initiating the restoration, it’s important to be aware of the following:

To restore a backup, go to the Websites section, find the site in question, and click on Dashboard. Then, search for Backups on the left sidebar and click on it.

You’ll find backup options for your website files and databases. Check the following methods to understand the differences according to your desired outcome and the detailed instructions 👇

Method 1 – Fully restore a WordPress website

This method is only available for WordPress websites. It allows you to restore all the files and the database of a WordPress site in one click. When you arrive at the Backups page, this option will be selected by default:

Choose the domain and preferred date from the available backups in the dropdown list, and click on Restore website:

Hostinger backups page with Restore and download tab, Website backup selected, Restore website button highlighted

NOTE

Hostinger hPanel full website restore screen showing a highlighted “No backups found” warning

After clicking on the Restore button, confirm that you understand that restoring the selected backup version will replace current website files and databases, then click again on Restore:

Hostinger backup restore confirmation with Restore button highlighted

Usually, the restoration process takes 10–15 minutes, depending on the size of your website; the larger the backup, the longer it may take. You can track the progress of your website restoration in the Restore and Download section.

Hostinger backups page showing website restore in progress at 1%

The restoration will continue in the background even if the browser tab is minimized or closed. Check the status in the Restore History tab:

Hostinger Backups restore history tab and status column highlighted in backup table

After completion, your website will be restored to its state on the selected date – be sure to clear your browser cache before visiting it.

Method 2 – Restore specific websites, subdomains, or directories

This method is recommended when you host several websites, subdomains, or directories and only want to perform partial restorations by selecting only specific files or folders (directories).

Click on Files backups, select the preferred date from the available backups in the dropdown list, and click on Show files:

Hostinger Backups page with Files backup tab selected and Show files link highlighted

To restore only one domain and its subdomains, select the folder of the preferred website (e.g., domain.tld), and click on Restore selected:

Hostinger backup files list with Restore selected button highlighted

To restore a particular directory or a subdomain, select the folder of the preferred website (e.g., domain.tld), and open the public_html folder within:

Hostinger backup files list with public_html folder selected for restore

Select the desired directory (folder), and click on Restore files:

Backup restore screen with subdomain1 selected and a Restore selected button

NOTE

  • The default directory for your subdomain is named after the subdomain; if you chose a custom name when creating the subdomain, the folder will have that name instead.

Usually, the restoration process takes 10–15 minutes, depending on the size of your website; the larger the backup, the longer it may take. You can track the progress of your website restoration in the Restore and download section:

Hostinger backups page showing website restore in progress at 1%

The restoration will continue in the background even if the browser tab is minimized or closed. Check the status in the Restore History tab:

Hostinger backups page with Restore history tab and Status column highlighted

If the partial restoration includes a whole website (when restoring from either a domain or subdomain), make sure to restore the databases as well to the same date as the files backup.

Restore specific files

This method only restores particular files (e.g., wp-config.php, .htaccess, etc.). Click on Click on Files backups, select the preferred date from the available backups in the dropdown list, and click on Show files:

Hostinger backups page with Files backup selected and Show files link highlighted

Open the domains folder, select the folder of the preferred website (e.g., domain.tld), and open the folder public_html within:

Hostinger backup files list with the public_html folder highlighted for selection

Then, select the preferred files within, and click on Restore files:

Backup file list with default.php selected and Restore selected button visible

Usually, the restoration process takes only a couple of minutes, but it also depends on your file size. The larger the backup, the longer it may take. You can check the status in the Restore and download section:

Hostinger backups page showing website restore in progress at 1%

Check the status in the Restore History tab:

Hostinger backups page with the Restore history tab and Status column highlighted

Once completed, your selected files will be restored to the state of the selected backup date.

You can restore files and whole directories from public_html this way. If you need to restore just some particular files from a subfolder inside public_html, download the backup and upload the desired files via FTP:

Restore databases

Follow these steps after restoring the entire domains/subdomains, or if you need to restore your website’s database only.

Click on Database backups. Choose the preferred backup date, and click on Restore Database.

Hostinger database backup tab with Restore database button highlighted

NOTE

  • The database must exist in your List of Current MySQL Databases before restoring it. If you encounter an error, create the database again using the same database name and retry the restoration:

Hostinger backup restore error message with retry button and selected backup u123456789_base

Usually, the restoration process takes only a few minutes, depending on the size of your database. The larger it is, the longer it may take. Check the status in the Restore and Download section:

Hostinger backups page showing in-progress database restore from backup

Check the status in the Restore History tab:

Hostinger backups restore history tab showing status success table

Once completed, your selected database will be restored to the state of the selected backup date. To check the changes, you may need to clear the cache.

Restoring backups for a subdomain

NOTE:

  • This feature is only available on WordPress websites created under a subdomain

Go to Websites → Dashboard, search for Backups on the sidebar:

Hostinger hPanel sidebar with Backups menu item highlighted under Files

There, you will find the section Restore and downloadWebsite backup.

Hostinger backups page with Restore and download tab and Website backup selected

Choose Change → select the correct domain/subdomain → press Restore Website

Hostinger website backup restore page with Restore website button and Change domain link highlighted

Usually, the restoration process takes 10–15 minutes, depending on the size of your website; the larger the backup, the longer it may take. You can track the progress of your website restoration in the Restore and download section:

Hostinger backup restore in progress, showing website restoration at 1%

The restoration will continue in the background even if the browser tab is minimized or closed. Check the status in the Restore History tab:

Hostinger backups page with the Restore history tab and Status column highlighted

NOTE:

  • If there are no available backups, you will be notified:

Hostinger backups page showing “No backups available” for Website backup