If your website ever breaks after an update, gets hacked, or suddenly shows the “Error establishing a database connection” message, restoring a backup becomes your lifeline. In moments like these, knowing how to upload a backup with File Manager in cPanel can save your entire site without waiting for developer help. Many WordPress users on Reddit even say this is the only method that saved them when other tools failed.
In this guide, I’ll discuss the steps I’ve used countless times while helping clients recover their websites. It’s simple, safe, and doesn’t require any technical mastery, just a little attention and the correct steps.
Table of contents
Why You May Need to Upload a Backup
Imagine waking up one morning and finding that your hosting provider has temporarily disabled your website due to a malware alert. You can’t access the dashboard, nothing loads, and you have no immediate way to fix the issue. But because you previously downloaded a clean backup of your site, you can log in to cPanel, upload that backup manually, and get everything running again within minutes.
This is why knowing how to upload a backup manually is so important. It gives you full control and lets you recover your site quickly when unexpected problems appear.
Prerequisites
- You must have access to your cPanel account.
- Your website backup (ZIP, TAR, or TAR.GZ file).
- Enough available storage on your hosting.
- A stable internet connection (uploads can be large).
Uploading a Backup With File Manager in cPanel
You can easily restore your website using a backup file in cPanel’s File Manager. This method works without FTP or any advanced tools. Follow the steps below to bring your site back safely and without errors.

Try Hostonce Affordable WordPress Hosting!
Experience Hostonce’s secure and affordable WordPress VPS to help your website grow quickly and meet your specific needs.
Open cPanel to Use File Manager
Begin by visiting the cPanel login page supplied by your hosting service. Enter your login credentials to reach the cPanel dashboard.

Once you log in, you will see multiple sections and icons representing different tools. From there, find the Files area and open File Manager to access and manage all the files on your hosting account.

Upload Backup File
Once File Manager opens, you will see a directory structure similar to your computer’s file explorer. Pay attention to the root directories, particularly public_html, which is where most website files are stored.
After navigating to the proper directory, press the Upload button, typically found at the top of the File Manager screen.

This will open a new window or tab, where you can either drag and drop your backup file from your computer into the upload area or click Select File to browse and choose the file manually. Make sure your backup file is complete and not corrupted. While the upload is in progress, do not navigate away from the page to prevent interruption.

Select the “Overwrite existing files” option to update your old files with the new versions. This will overwrite the files that have the same name.
Extract the Backup Files
After uploading, the backup file (usually a .zip or .tar.gz archive) needs to be extracted to restore the website files. Right-click on the backup file, select Extract from the menu, and then specify the destination directory when prompted. Ensure that you choose the correct folder (for the main site, usually public_html).

Click Extract Files, and File Manager will unpack all the files.

Finally, the extraction results will look like this.

Test Your Website
Once extraction is complete, carefully check the contents of the folder. Make sure all essential files, such as website scripts, media uploads, and configuration files, are in place. It is also a good practice to delete the backup archive after successful extraction to free up server space. Finally, check your website in a browser to make sure it displays properly and works the way it should.
Security Tips After Restoring Your Site
Once your site is live again, follow these security parameters to avoid cybersecurity attacks:
- Change your cPanel, WordPress, and database passwords
- Update themes and plugins
- Also, install a malware scanner like Wordfence
- Remove unused themes or plugins
- Finally, enable 2FA where possible
This step is necessary, especially if the backup was uploaded due to malware.
Final Thoughts
Restoring a backup through cPanel’s File Manager is one of the fastest ways to bring a broken website back online. If your site ever crashes, gets infected, or stops loading after an update, these steps give you a clear path to recover everything without relying on complex tools or waiting for support. By uploading and extracting a clean backup, you take control of your site’s recovery and reduce downtime to just a few minutes. Now that you know the process, you can confidently handle emergencies and keep your website safe, stable, and running smoothly.
FAQ
Where should I extract my backup in cPanel?
In most cases, you should extract the backup inside the public_html folder because that’s where your main website files are stored.
Why does my site still show errors after restoring the backup?
If errors continue, the backup may be incomplete, the database details might be wrong, or some files may not have been extracted into the correct folder.
Should I delete the backup archive after extraction?
It’s a good idea to delete the uploaded backup file once everything is restored because it saves storage and reduces security risks.
What happens if I overwrite existing files?
Overwriting existing files will return your website to the exact state it was in when the backup was created. This helps during recovery but removes any recent updates made afterward.
How often should I create backups?
It’s best to create weekly backups, but if your website changes often, daily backups provide better protection and faster recovery when something goes wrong.