> ## Documentation Index
> Fetch the complete documentation index at: https://speedypage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Restore files from backups

> How to restore individual files and directories from SpeedyPage's server-side backups using cPanel.

SpeedyPage keeps automatic server-side backups of your hosting account. If you accidentally delete or overwrite a file, you can restore individual files and directories without needing to restore your entire account.

## Restore a file or directory

<Steps>
  <Step title="Open File and Directory Restoration">
    Log in to cPanel through your [client area](https://my.speedypage.com) or at `yourdomain.com/cpanel`. Go to **Files** and click **File and Directory Restoration**.
  </Step>

  <Step title="Find the file or directory">
    You have two options:

    * **Browse** — Select **Browse files and directories** and navigate through your home directory to find the item you want to restore.
    * **Enter a path** — Select **Enter a path** and type the path relative to your home directory (e.g. `public_html/wp-config.php` or `public_html/images`).
  </Step>

  <Step title="View available backups">
    Click **Show Backups**. A list of available backup dates appears.
  </Step>

  <Step title="Restore">
    Choose the backup date you want to restore from and click **Restore**. Confirm when prompted.
  </Step>
</Steps>

The restored file or directory appears in your home directory. If a file with the same name already exists, it gets overwritten with the backup version.

## What you can and cannot restore

| Can restore                                    | Cannot restore                                     |
| ---------------------------------------------- | -------------------------------------------------- |
| Any file or directory in your home directory   | The `mail` directory                               |
| Individual files (e.g. a single PHP file)      | The `.cpanel` directory                            |
| Entire directories (e.g. all of `public_html`) | MySQL databases (use the Backup interface instead) |

<Warning>
  To restore mail directories or the `.cpanel` directory, you need a full account backup restoration. [Contact SpeedyPage support](https://my.speedypage.com/submitticket.php) to request this.
</Warning>

<Tip>
  For most restore tasks, [JetBackup](/web-hosting/backups#restore-from-jetbackup) is the easier option — it lets you restore individual files, databases, email accounts, and cron jobs from a single interface.
</Tip>
