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.gzor.zipfile)Access to the cPanel interface
Restore a home directory backup
Log in to your cPanel account.
Locate the Files section and select Backup or Backup Wizard (the specific tool depends on your account configuration).
Select the Restore tab or option.
Choose the type of backup you wish to restore. Select Home Directory.
Select the specific backup file you wish to use.
Select the destination path. By default, this is the home directory (e.g.,
/home/username).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.
