InMotion Hosting Support Center

In this article I'm going to show you how to restore a partial home directory backup in cPanel. This will allow you to restore your account's website and email files to a previous date when you last made a website backup.

This is good knowledge to have, so in case you've accidentally removed some files from your website, or deleted an important email, you can get those lost files back. It's also handy to backup website files prior to upgrading software that runs your website, so that if anything goes wrong you can at least revert to the working old version again.

When you restore a partial home directory backup like we're creating covering below, this is going to overwrite any existing files currently on your account. So if you have a /public_html/index.htm file on your account, and the backup you created also has that file, the file from the backup will be restored over the current live file.

If you have a new file such as /public_html/index2.htm live on your website that didn't exist in the backup, or you've gotten new emails since you made your partial home directory backup, these files will not be overwritten during the restore.

Restore home directory backup in cPanel

Following the steps below you can learn how to restore a partial backup of your website including all the files in your home directory.

  1. Login to your cPanel.
  2. cpanel click on backupsUnder the files section, click on Backups.
  3. cpanel backups click choose file select backup click openUnder Restore a Home Directory Backup, click on Choose File.

    Next in the file browser pop-up, find your home directory backup file, click on it, then click on Open.

  4. cpanel backups click uploadThe name of your backup should now be displayed, so click on Upload.
  5. cpanel backups home directory restore completedYou should then see the progress of your files being restored.

You should now know how to restore your website files from a partial home directory backup in cPanel that you've previously made.

You will also want to read my articles on how to backup your database in cPanel, and restore your database in cPanel to get a better understanding of how cPanel handles restoring the different parts of your website.

Support Center Login

Social Media Login

Social Login Joomla

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
2013-07-04 8:09 am
Hi, I get the message Restoring Files but nothing else is happening. How long should it take for the process to complete?
5,399 Points
2013-07-05 12:10 pm
Hi donaceli,

If you only have a few files, the restoration could take just a few seconds. If however you have lots of files, such as a few GB worth of files, it may take longer for the restoration to finish.

How large is the backup file that you're working with? Let us know if anything has changed since you posted your comment.

- Brad
n/a Points
2014-04-01 2:41 pm

My backfile size was around 7GB and it is at the "Restoring homedir..." stage...It has been a few hours, however, I still see it going.

If I close the browser the window, will it cancel the restore process?

9,968 Points
2014-04-01 2:54 pm
Hello Serkan,

The restore process can take quite a while if you have a rather large backup like yourself. If it seems to be still making progress then it should still be restoring to the server. Unfortunately I couldn't find your account on file with us based off this post to double-check on the current status of the restore.

Closing the browser window should cancel the restore process, so if you wanted it to complete you would want to keep the browser window open until it's completely finished.

Please let us know if you had any other questions at all.

- Jacob
n/a Points
2014-04-01 3:05 pm

Thank you for your response Jacob.  I personally don't have an account here, but a few of my clients do.

When I do full backup through cPanel, the browser window can be closed and the proces still completes.  It kind of does not make sense to me why WHM does not allow this, especially when the process is longer than the backup itself. I am assuming security reasons.

I have Chrome launched now and I am kidn of nervous now that it has taken this long would hate for it crash.  So will minimize this and use Firefox for the time being...

Thank you again for your response!

9,968 Points
2014-04-01 5:16 pm
Hello Serkan, thanks for the input.

I went ahead and tested this out, and it actually does look like the restore process will continue to complete, like you mentioned for the backup process. This is so long as you've reached the Restoring files... part of the restore process in cPanel.

If your web-browser is still showing Uploading (99%)... at the bottom status bar, and you close the web-browser it will cancel the restore process as the full backup doesn't get uploaded.

If you're worried about the restore process stalling out on you, one simple way to check on the status would be to upload a PHP script to the /public_html directory of the account you're restoring like this:


echo exec("ls -Rf | wc -l");
echo "<br>";
echo exec("du -hs");


If you then accessed that script in another web-browser tab, it would output like this:

123M .

Showing there are 18 files totaling 123MB in the /public_html directory. If you refresh that file every so often you should see either the file count, or size go up.

- Jacob
n/a Points
2014-04-17 6:22 pm

After I had to do a full site restore through Inmotion yesterday, I am looking into backups more thoroughly. To be honest, I though Inmotion handled all of this for me, but now I realize that it doesn't backup the database files that my Wordpress plugins use. Or to be more clear it apparently backs them up but if they do a restore from the format they use, it will corrupt the site. So the backup of the database from Inmotion really isn't useful if you need a site restore.


I had a look at the article on backing up the database files, and from what I'm understanding, I can do a restore of those files if needed in the future, even though I'm storing them locally.

My question is ... on the cPanel, it says here's a button for a full site backup ... then it says .... oh but you can't use this for a site restore, only to transfer to a new server. Why is this? If I can store a copy myself and then restore it myself, would this have not saved me the hassle of waiting all day for Inmotion to do a full restore?

Am I reading this all correctly?

Basically I want a full procedure of what I should be doing as a site owner to ensure I have all of my site backed up and ready to restore in the event of an emergency.

One more question - if I pay more for a higher level of service, can all of this just be done for me?


n/a Points
2014-09-15 10:19 am

How can i restore a backup site to a sub domain without over writing the home directorate of the main site?

31,565 Points
2014-09-15 11:46 am

You would need to open up the zip file and then copy just the files in the subfolder to your hosting account.

Kindest Regards,
Scott M
n/a Points
2014-10-30 7:49 am


Unfortunately today I deleted some file and folder from my cpanel File Manager. I do not have backup of them. How can I return them. I checked trash folder from file manager but i did not get them.

How can I return them?

19,794 Points
2014-10-30 10:47 am
Hello Rubel,

Thank you for contacting us today. If this just happened recently (within the last 24-36 hours), I recommend requesting a Data Restoration from AMP immediately.

This allows us to check our backups for the files and restore them if they are available.

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

Thank you,
n/a Points
2014-10-30 12:06 pm

Thanks John-Paul

But what is AMP login? One think should be clear that should be my webhosting n this site or any other also?

19,794 Points
2014-10-30 1:15 pm
Hello Rubel,

Thank you for your question. AMP stands for Account Management Panel, it is the first login email you receive after confirming your account with us.

Here is a guide on how to Login to AMP.

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

Thank you,
n/a Points
2014-12-24 9:15 pm

Restoring a home directory in cPanel.

1. Have a problem with my Wordpress admin access on a site.(Go Daddy)(No access for the last 2 weeks. before it was ok.)

2. The Web site is running ok.

3. My site admin is in cPanel.

4. I have taken a backup of the home directory and the SQL database.

5. I have installed Wordpress on a different hosting platform (Domain Wink)I use, and have restored the home directory and the SQL database to the new platform.

6. I am trying to replicate my problematic site.

7. When I type the URL for the new admin, it gives me a message saying "no action needed as your database is up-to-date"

8. This would indicate that the database is ok, 

but when i try the admin, I don't get a response.


Original site is (working site, but no admin access)


Copied site (Domain Wink)


How do I check to see if the home directory files are in the correct folder, and working?


28,417 Points
2014-12-25 8:45 am

Sorry to hear to that you're having problems with your WordPress install. Depending on your host, if you're talking about your WordPress install files, they'll typically either be in the root directory (e.g. we use "public_html") or a folder that you designated for the installation. One of the main ways to tell if your WordPress files are there is to look for the main folders like wp-content, wp-admin, wp-includes. You should also see the wp-config.php file in that folder. There are a ton of other files and folders also, but if you want to know what they would look like, go to, and download the WordPress installation zip file, then unzip into a folder so that you can see what should be there.

If you're having problems with getting into your WordPress site, I would suggest using one of the recovery methods mentioned in our article, resetting your WordPress admin password. If you're hosted with us, you can always call into our technical support and they can reset the admin password for you.

I hope that helps to give you the information you require. If you have any further questions or comments, please let us know.

Arnel C.
n/a Points
2015-01-23 12:24 am

Dear Sir/Ma'am,

Good Morning We are using Web Blue Host We paid for renewal after that our Site backup not shown.

Please do the needful.


 Kartar Yadav

Dy.Mgr IT

31,565 Points
2015-01-23 10:41 am
Hello Kartar,

I am not quite understanding your request. It seems you say you are hosting with Blue Host, but after paying for a renewal, cannot find a site backup. Do you also have an account with us? Please be a bit more specific so we can understand your issue and help.

Kindest Regards,
Scott M
n/a Points
2015-06-26 3:02 am


Can you help me to restore my deleted websites. It happens last night. Please. I really need it. I don't have knowledge in cpanel.


Thank you

31,565 Points
2015-06-26 9:06 am
Hello Jaze,

Do you have a backup? Did you follow the instructions above? Where did you get lost?

Kindest Regards,
Scott M
n/a Points
2015-06-28 1:49 pm


When I try to upload the backed up file, it says The system will restore your files …  I kept on waiting forever and it dint show any progress.. I've tried it many times the way you described.

31,565 Points
2015-06-29 1:13 pm
Hello Richa,

If the instructions above did not work for you, you may want to contact Live Support to see if there is some account-specific reason. They may be able to assist with the restore as well.

Kindest Regards,
Scott M
n/a Points
2015-09-01 2:36 am

Hello Scott M,

Now, I have problem with my website as this picture.

Please help me !

Best Regard!

7,008 Points
2015-09-02 12:21 am
Hello Hak,

Can you please provide your domain as I am not able to tell from the photo? What is your website built with? Did you make any file changes recently?

Best Regards,
TJ Edens
n/a Points
2015-09-23 1:04 am

sir is any method to restore withour download full backup?


28,417 Points
2015-09-23 2:33 pm
Hello Prathyangira's Karthikeyan,

Your question is unfortunately a bit vague. Can you provide more details on what you're trying to do? If you are trying to restore a full cPanel backup on a business account, you would need to submit a ticket to have it done. If you are on a VPS or Dedicated server account, you would need to have root access in order to restore it. I hope this helps to answer your question, please let us know if you require any further assistance.

Arnel C.
n/a Points
2015-09-24 6:52 am

Sir i Have Cpanel in Bluehost. i take daily backups. day to day my site getting grove large size. now my site is 1 gb so. when i restore. then i download that 1 gb. and upload that 1gb file. so how can i possible. so please give me idea to restore without download backups.

thanking you sir


31,565 Points
2015-09-24 8:57 am
Hello Prathyangira,

You will always want to download the backup. It is not good to have the backup on the account because it something happens to the cPanel account, the backup goes along with it. Also, be sure you do not have a copy of your backup in your cPanel when you create a new backup. This means youa re backing up backups which can make the filesize grow very fast.

Kindest Regards,
Scott M
n/a Points
2015-10-09 9:37 am

Hi all 


please help me i am unable to access my web site (www.jbk21.con) and c panal also please help me 

28,417 Points
2015-10-09 9:56 am
Hello Khursheed,

Sorry for the problem with the domain. I tried to see if the domain came up as being registered and it doesn't appear to be so. You will need to register the domain before you can use on the internet for your website or the cPanel link.

I hope this helps to answer your question, please let us know if you require any further assistance.

Arnel C.

Post a Comment

Email Address:
Phone Number:

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

31 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!