Skip to main content

How to Restore a Home Directory Backup in cPanel

You can restore a backup of your home directory to restore files, folders, or configurations to your cPanel account. This process allows you to recover data from a previously saved home directory backup.

You can restore a backup of your home directory to restore files, folders, or configurations to your cPanel account. This process allows you to recover data from a previously saved home directory backup.

Before you begin

You will need:

  • A valid cPanel account

  • A previously created home directory backup file (e.g., a .tar.gz or .zip file)

  • Access to the cPanel interface

Restore a home directory backup

  1. Log in to your cPanel account.

  2. Locate the Files section and select Backup or Backup Wizard (the specific tool depends on your account configuration).

  3. Select the Restore tab or option.

  4. Choose the type of backup you wish to restore. Select Home Directory.

  5. Select the specific backup file you wish to use.

  6. Select the destination path. By default, this is the home directory (e.g., /home/username).

  7. Click Restore.

Warning: Restoring a home directory backup will overwrite existing files and folders in your account with the data contained in the backup. Ensure you have a current copy of any data you do not wish to lose before proceeding.

Confirm the result

  • The system will display a success message indicating the restoration is complete.

  • You can verify the restoration by using the File Manager to confirm that the files and folders are present in the expected locations.

If the restoration fails

If the restoration does not complete or you receive an error message:

  • Check that the backup file is not corrupted and is still accessible.

  • Verify that you have sufficient disk space available to accommodate the restored files.

  • Ensure the file permissions for the destination directory are correct.

Limitations

  • This process restores the entire home directory; it does not restore email accounts, mail folders, or MySQL databases.

  • The restoration will overwrite any files that share the same name as those in the backup.

  • If the backup was created on a different server, ensure the file paths are compatible with your current account.

Did this answer your question?