How to Restore a File from your Own Backup

Backing up your website is a necessary step for all users. 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 domain.com/index.php. If you don’t see the changes, you may need to clear your browser’s cache and test again.
IC
InMotion Hosting Contributor Content Writer II

InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

More Articles by InMotion Hosting

0 thoughts on “How to Restore a File from your Own Backup

  1. 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 support@inmotionhosting.com (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

  2. 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.

Was this article helpful? Join the conversation!