Restore files from a backup

backups, restore, files, public_html, overwrite · 0 found this helpful

Use this when you've deleted a file, broken a page, or want your website files back as they were at an earlier time. You choose what to restore, then which backup.

Before you start

  • Know roughly when the files were last right. Three hours ago? Last Tuesday?
  • Know the path, for example public_html/images or public_html/wp-config.php.
  • Restoring files doesn't restore the database. For WordPress, you may need both. See Restore a database.

Two ways to restore

Choice What happens Use it when
Into a new folder (default) The files go into a folder named like restored-20261124-030000 in your home folder. Your site isn't touched You want to look first, copy back a few files, or compare
Replace the current files The files go back where they came from. A file with the same name is replaced You know you want the old version live

When you replace files, we back up the current files first. That backup shows as Before a restore for 7 days, so you can undo it.

Steps

  1. Open Account → Hosting → your site → Backups. Restore something is at the top.
  2. Under What do you want back?, choose Files.
  3. To restore one folder or file, type its path under Only this folder, for example public_html/images. Leave it blank for every file.
  4. To put the files back in place, tick Replace the current files. Leave it unticked to restore into a new folder.
  5. Click Continue.
Restore something with Files chosen. Tick Replace the current files (1) to put files back in place
  1. Under Restore from when?, choose a backup. The newest is at the top.
  2. Click Continue, read the summary, then click Start the restore.
  3. The restore starts within 15 minutes. You can leave the page. Recent restores shows when it's done.

Use a restored folder

  1. Open Account → Hosting → your site → Files.
  2. Open the restored-… folder. It has the same layout as your home folder, such as public_html/images.
  3. Copy or move the files you need back into place.
  4. Delete the restored-… folder when you're done. It counts toward your storage.

Check it worked

  1. Load the page in a private browser window.
  2. Clear any cache. See Site shows an old version after changes.

If something goes wrong

Problem Fix
The backup list is empty Your first backup appears within an hour of sign-up. If it's been longer, ask us
The restore hasn't started Restores start within 15 minutes. If it still shows in progress after an hour, open a request
Site shows a 500 error after a restore Files and database are out of step, or a permission changed. See 500 Internal Server Error and Fix file and folder permissions
The file isn't in any backup It was created and deleted between two backups, or before your plan's window. Ask us about older backups
A restore over the live site went wrong Restore again from the Before a restore backup

Note: Replacing files doesn't delete files that weren't in the backup. For a hacked site, ask us, so unknown files are removed too. See Recover a hacked website.

Was this helpful?

Still stuck? Ask us and we'll walk you through it.