WHM offers various backup options, including full backups that include all website files and databases, as well as partial backups that can be customized based on specific accounts or directories. These backups can be scheduled to run automatically at regular intervals and can be stored locally or remotely on separate servers or storage devices. By implementing backups in WHM, website owners can safeguard their data and quickly restore websites to a previous state in the event of any unforeseen issues.
This guide covers restoring a full cPanel backup created by WHM and restoring individual files and folders backed up by WHM.
Related Articles
Automatic Backups Using WHM
Check WHM Backup Logs
Restore cPanel Account
IMPORTANT: This solution will require root access. If this needs to be obtained, follow the guide on requesting root access.
- Log into Root WHM
- Navigate to Backup Restoration, located in the Backup section
- Select the cPanel account and date to restore
- Select whether to restore subdomains, mail configuration, and MySQL
- Click Add Account to Queue
NOTE: You will see the account appear in the Restoration Queue with a status of Pending. - Click Restore to begin the account restoration
CAUTION: This will overwrite any existing data on the cPanel and restore it to the selected date. The restoration can take some time, especially if a remote backup was chosen. - If the restoration is completed with warnings, you can click View Log to review any warnings
Restore Files and Folders
IMPORTANT: This solution will require root access. If this needs to be obtained, follow the guide on requesting root access.
- Log into Root WHM
- Navigate to File and Directory Restoration, located under Backup
- Select the cPanel account to restore to
- Click View Backups
- If you know the specific file or folder you need to restore
- Enter the path
- Click Show Backups
- Enter the path
- If the path is unknown
- Click Browse files and directories
- Select the folder name to navigate into deeper directories
- When the appropriate file or folder is found, click Show Backups
- From the backup list under Backups, select the date to restore by clicking Restore
- Click Restore again to confirm the restoration
CAUTION: This will overwrite any existing files or folders at this location. The restoration may take some time to complete. - Wait for the restoration to complete
Comments
0 comments
Article is closed for comments.