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 yourdomain.com/index.php. (replace yourdomain.com 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?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

The Community Support team wrote the article you're looking at now. We like to think it's perfect, but we're sure you have some suggestions. Please, let us know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Have a Question?

If you need some help, submit your question to our Community! We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)

Recent Questions

  1. "WordPress Login Temporarily Disabled"?
  2. Google Adwords Credit Link Doesn't Work in AMP
  3. my email is being rejected

Support Center Search

Current Customers

Email: support@WebHostingHub.com 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.