Backing up your site is a necessary part of normal account maintenance. Please read our article entitled Do you Run Backups of your Servers? for more information regarding backups.

If you have backup files and you need to restore just one of them, you can use your cPanel's File Manager to do this very easily. In this tutorial, we'll show you how to restore a file. In this example, we will be restoring public_html/index.php.

  1. Begin by logging into your Account Management Panel
  2. Click the Work in Control Panels link on the right side of the page.
  3. On the next page, under your domain name, click cPanel Login.
  4. Under the Files heading, click the icon labeled File Manager. If a popup appears that says Directory Selection, choose Web Root and Show hidden files, and click Go.
  5. Find the file you want to restore from backup, in this example index.php. We are going to temporarily rename the file so that we have a copy of the existing file. Right click on the file, and select Rename from the right-click menu. Rename the file to something such as index.php.bak or index.php.20110925 (the current date).
  6. To upload your backup file, click Upload in the menu at the top of the page.
  7. On the next page, click Browse and select the file on your local computer to begin the upload.
  8. After you have selected the file, it will begin to upload. When it has completed, test your website by going to (replace with your actual domain name). If you do not see the changes, try refreshing the page (F5 in most browsers) or clearing your browser's cache.
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?


n/a Points
2014-06-25 4:18 am

Requesting for a backup restore.... I got bruteforced hacked with some code injections can you restore my website with the backup that was created on the 6/22/14

12,339 Points
2014-06-25 4:18 pm
Hello Thomas,

Thank you for contacting us. Since this is just our public forum, we cannot perform a restoration from here.

If you cannot restore the backup, Live Support should be able to help you.

We also have a helpful article on Steps to Take if Your Website is Hacked.

If you have any further questions, feel free to post them below.
Thank you,


Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.