Knowledge Base
File and Directory Restoration in WHM
File and Directory Restoration in WHM
Overview:
WHM (Web Host Manager) provides an easy and reliable method to restore files and directories for cPanel accounts. This is especially helpful in cases of accidental deletion, server issues, or website updates.
Steps to Restore Files and Directories
- Log in to WHM:
Access your WHM panel using your administrator credentials. - Navigate to the Backup Section:
Go to Backup → Restore a Full Backup/cpmove File. For partial restores, select Restore a Home Directory Backup or Restore Specific Files/Directories. - Select the Account or Backup:
Choose the account you want to restore. If restoring a specific directory, browse and select the folder or files from the backup. - Initiate Restoration:
Click Restore to start the process. WHM will restore the selected files or directories to their original location. - Verify Restoration:
Once completed, check the cPanel account to ensure all files and directories are restored correctly. Test the website or application to confirm full functionality.
Important Notes
- Always ensure you have a recent backup before performing any restoration.
- Restoring large directories may take time depending on server performance and backup size.
- Only administrators or users with proper permissions can perform restorations via WHM.
Troubleshooting / FAQ
- Q: I cannot see my backup in WHM. What should I do?
A: Ensure that backups are enabled and stored in the correct backup directory. Check Backup Configuration settings and verify the backup schedule. - Q: The restoration process failed or was interrupted. How can I fix this?
A: Retry the restoration and monitor server resources. If the issue persists, check the server error logs or contact support. - Q: Can I restore files to a different account?
A: Yes, you can download the backup and upload specific files to another cPanel account, but full account restoration must be done on the original account via WHM. - Q: How long does a restoration take?
A: Duration depends on the size of the backup and server performance. Large accounts may take several minutes to complete. - Q: Will restoration overwrite existing files?
A: Yes, restoring a file or directory will overwrite existing files in the same location. Always take a backup of current files if needed.
Conclusion
Restoring files and directories in WHM is simple and reliable, allowing administrators to quickly recover lost or corrupted data. Using regular backups in combination with WHM restoration tools helps ensure that websites remain secure, functional, and uninterrupted.
Did you find this article helpful?