Skip to main content

How to Restore a Customer File or Directory From a Server Backup

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

You can restore specific files or directories for a customer account using a server-level backup. 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, contact Hostek support to verify your plan's capabilities.

Before you begin

You will need:

  • Reseller access to WHM

  • The specific file path or directory name you wish to restore

  • Knowledge of the date or backup point from which you want to retrieve the data

Restore a file or directory from a server backup

  1. Log in to WHM.

  2. Navigate to Home > Restore > Restore a File or Directory from a Server Backup.

  3. Select the customer's account from the list.

  4. Enter the full path of the file or directory you want to restore. Use example.com for the domain portion if applicable.

  5. Select the desired backup date or point from the list of available server backups.

  6. Click Restore.

Confirm the result

Once the restoration process completes, you can verify the result by:

  • Logging into the customer's cPanel.

  • Opening the File Manager.

  • Navigating to the specified path to confirm the file or directory exists and contains the expected data.

If the restoration fails or the file is not found

If the file does not appear after the restoration, check the following:

  • Path Accuracy: Ensure the path provided in step 4 was absolute and correct.

  • Backup Availability: Verify that the specific date selected actually contained the file you were attempting to restore.

  • Permissions: Ensure the file permissions were not altered during the restoration process.

If the issue persists, contact Hostek support with the specific file path and the date of the backup you attempted to use.

Limitations

  • This procedure restores files from a server-level backup, not a cPanel-specific backup.

  • Restoring a directory will overwrite any files currently existing at that path in the destination folder.

  • This action does not automatically update database records or email metadata; it only restores the physical files.

Did this answer your question?