How can I restore a backup copy of a file on my server?

Experience Level: Beginner
Articles labeled as Beginner are those that require basic tasks to be completed, such as making simple configuration changes following a brief set of instructions. If you find yourself needing assistance, our Technical Support Department can generally assist.
Print E-mail:
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.
 
Rating:
 
Please log in to rate this article.
Like this Article?
Notify Me of Updates!
Please login to subscribe to receive notifications when this article is updated.
Prerequisite Articles
None

Comments

Currently no comments

You must log in before commenting.

Need more Help?

Search
Current Customers
Chat:Click to Chat Now
Call:877-595-4HUB (4482)
757-416-6627 (Intl.)
E-mail:support@WebHostingHub.com
Ticket: Submit a Support Ticket
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. Sign up today!

Follow WebHostingHub!

 451 Followers. Follow Us!

Have a Question?

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

Recent Questions