Backup restoration in cPanel allows you to recover your website files, databases, and email accounts from previously saved backups. Through the Backup Restoration interface in WHM (Web Host Manager), you can restore one or multiple cPanel accounts from either local backups or remote FTP destinations, selecting backups by account name or specific date.
Understanding Backup Restoration
The Backup Restoration feature provides administrators with a straightforward way to recover hosting accounts to previous states. Whether you need to undo recent changes, recover from data loss, or migrate accounts, this tool accesses your backup archives and restores them with minimal effort. OBHost servers are configured to make this process as seamless as possible for both administrators and end users.
Requirements Before You Begin
Before you can restore backups, certain prerequisites must be in place:
- Enable backup configuration: You must first enable account backups through WHM's Backup Configuration interface (WHM >> Home >> Backup >> Backup Configuration).
- Configure remote destinations: If you plan to restore from a remote FTP location, that destination must already exist in the Additional Destinations section of the Backup Configuration interface.
- Verify backup file location: The backup or cpmove file must be stored in one of these approved directories: /home, /usr/home, /web, /home2, /home3, /root, or /usr.
How to Access the Backup Restoration Interface
Navigate to WHM and locate the Backup Restoration interface under the Backup section. The interface contains two main tabs: Restore by Account and Restore by Date. Each tab guides you through the restoration process with visual indicators showing which steps require your attention (highlighted with a blue border).
Restoring Backups by Account
When you need to restore a specific account, the Restore by Account tab provides the most direct path:
- Review the Select User list, which displays all cPanel accounts with at least one available backup
- Use the Filter Accounts text box to quickly locate specific accounts if you manage many users
- Click on the account name you wish to restore
- Configure any restoration options as needed
- Add the account to the restoration queue
Important limitation: You can only add one account to the queue at a time. Once added, the account name appears grayed out until the restoration completes.
Restoring Backups by Date
The Restore by Date tab helps you restore multiple accounts from a specific backup date:
- Review the Available Backup Dates calendar, which highlights dates when backups were created
- Click on the desired date to view all accounts backed up on that day
- Select the accounts you want to restore from that backup date
- Configure restoration options
- Begin the restoration process
This method proves especially useful when you need to restore your server state to a particular point in time, such as before a major update or configuration change.
Restoration Options
The Options section allows you to customize how the restoration process handles your data:
- IP address handling: Choose whether to restore accounts to their original IP addresses or assign new ones
- Mail configuration: Decide how to handle email accounts and mail data during restoration
- Overwrite protection: Select whether to overwrite existing accounts or skip accounts that already exist
These options give you fine-grained control over the restoration process and help prevent unintended data loss.
Monitoring the Restoration Queue
After adding accounts to the restoration queue, you can monitor progress in real time. The Restoration Queue section displays each account being restored, along with status information. The system processes restorations sequentially, completing one account before moving to the next.
Restoration times vary based on account size, server performance, and the amount of data being restored. Larger accounts with extensive databases and email archives naturally require more time to complete.
Troubleshooting Common Issues
If you encounter problems during backup restoration, check these common causes:
- Missing backup files: Verify that backup files exist in the approved directories and are not corrupted
- Permission errors: Ensure the backup files have correct ownership and permissions
- Insufficient disk space: Confirm adequate free space exists on the server to accommodate the restored account
- Remote destination connectivity: Test that remote FTP destinations are accessible and properly configured
Best Practices for Backup Restoration
Follow these guidelines to ensure smooth restoration operations:
- Test restoration procedures regularly to verify your backups work correctly
- Maintain multiple backup copies across different locations for redundancy
- Document your backup retention policies and restoration procedures
- Notify affected users before restoring their accounts to prevent confusion
- Verify restored accounts thoroughly before considering the process complete
Regular testing of your backup restoration process helps ensure that when you truly need to recover data, the process works without surprises.
Frequently Asked Questions
Can I restore individual files instead of entire accounts?
The Backup Restoration interface restores complete cPanel accounts rather than individual files. For selective file restoration, users can access their own backups through cPanel's Backup interface, or administrators can manually extract specific files from backup archives before restoration.
How long are backups retained before automatic deletion?
Backup retention periods depend on your configuration in the Backup Configuration interface. Common retention schedules range from weekly to monthly backups, though OBHost allows you to customize retention based on your storage capacity and business requirements. Check your specific backup configuration to determine your retention schedule.
What happens if an account already exists when I try to restore it?
The restoration behavior depends on the options you select. You can choose to overwrite the existing account with backup data, skip the restoration for that account, or configure other specific handling. Always review your options carefully before starting restoration to prevent unintended data loss.
Can I restore backups from a different hosting provider?
While the Backup Restoration interface works with standard cPanel backup formats (backup or cpmove files), compatibility depends on the source system. Backups created by other cPanel servers typically restore successfully, but custom backup formats from non-cPanel systems may require manual migration instead of automated restoration.
If you need assistance with backup restoration or have questions about your specific hosting configuration, the OBHost support team is available 24/7. Contact us through our contact page or email support@obhost.org for immediate help with your backup recovery needs.