Skip to main content

How to Restore a File or Directory From a Server Backup

You can restore specific files or entire directories from a server-level backup using the cPanel interface. This process allows you to recover data from a previous point in time without restoring the entire account.

You can restore specific files or entire directories from a server-level backup using the cPanel interface. This process allows you to recover data from a previous point in time without restoring the entire account.

Important: This feature is only available on specific Hostek plans. If you do not see the option to restore from a server backup, please contact Hostek support to verify your plan's capabilities.

Before you begin

You will need:

  • A cPanel account

  • Access to the specific file or directory you wish to restore

  • Knowledge of the original file path (e.g., /public_html/images/logo.png)

Restore from a server backup

  1. Log in to your cPanel account.

  2. Locate the Files section and select File Manager.

  3. Navigate to the directory where the file or folder is located.

  4. Select the file or folder you wish to restore.

  5. Click the Restore from Backup button in the top toolbar.

  6. Select the desired backup date and time from the list of available snapshots.

  7. Click Restore.

Confirm the result

  • The file or directory will reappear in the File Manager at the selected path.

  • The file size and modification date will reflect the state of the file at the time of the chosen backup.

If the restore fails or the option is missing

If the Restore from Backup button is missing or the process fails, it may be due to one of the following:

  • Permissions: You may not have the necessary permissions to access that specific directory.

  • Feature Availability: Your specific hosting plan may not include server-level backup restoration.

  • Backup Availability: A backup for the specific date you selected may not exist.

In these cases, contact Hostek support and provide the specific file path and the date of the backup you are attempting to restore.

Limitations

  • This process replaces the current version of the file or directory with the version from the backup. Any changes made to the file since the last backup will be lost.

  • This feature does not restore database entries; it only restores physical files and folders.

  • Restoration is not instantaneous and may take several minutes depending on the size of the data being restored.

Did this answer your question?