InMotion Hosting Support Center
Backing up your website is a necessary step for all users. Be sure to read our Do you run backups of your servers? article for an overview of how backups are maintained for our servers.

There may be times that you need to restore a file on your website from your own backup. In this tutorial, we'll show you how to use your File Manager to restore your public_html/index.php file.

  1. Log into your Account Management Panel
  2. Find and click the "Work in Control Panels" link
  3. On the next page, under your domain, click "cPanel Login"

  4. Under the "Files" heading, click the icon labeled "File Manager." If you get a popup that says, "Directory Selection", choose "Web Root" and "Show hidden files", and then 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. Right click on the file in question, and then click "Rename". 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 top menu.
  7. On the next page, click "Browse" and then find the file to restore on your computer.
  8. After you have selected the file, it will begin to upload. When it has completed, test your website by going to If you don't see the changes, you may need to clear your browser's cache and test again.
Was this article helpful?

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!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

43,761 Points
2012-08-07 8:26 am
Hello Doug,

Step 5 refers to finding the file you are going to replace within your account. It refers to renaming the file you want to restore just in case you need to revert to it afterwards.

Step 6 is where you bring the backup file from your computer and place it in the account. You would upload that particular file (or files) via FTP or via the File Manager using the Upload icon from the top menu bar.

The Backup can be either a single file from your computer or within a zip file that was created when using the cPanel backup tool which is typically downloaded to your computer once it is created.

If the file you need restored is under 24 hours old, you can also petition our support team to see if you have a backup here that we can pull from.

To do so, you would need to contact our support department at (open 24/7) with that request. Be sure to validate your account with either the last 4 digits of the credit card on file, or the current Account Management Panel (AMP) password.

Best Regards,
Scott M
2012-08-07 4:41 am
In Step 5, it says "Find the file you want to restore from backup."

But it's not clear to me where this backup came from. As far as I understand all the various backup options, they all result in files (compressed ZIP files) being downloaded to one's home computer. In fact, there are explicit instructions on the InMotion website saying that we are not allowed to store backups on the server.

So I'm wondering how this backup got onto the server and we can access it through cPanel.

Post a Comment

Email Address:
Phone Number:

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

2 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

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

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!