How to Restore a Home Directory Backup in cPanel

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. Click on backup icon in cPanel

    Under the files section, click on Backup.

  3. Select file being restored

    Click on Choose File.

  4. cPanel backup progress

    The name of your backup should now be displayed, so click on Upload.

  5. cpanel backups home directory restore completed

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

Thoughts on “How to Restore a Home Directory Backup in cPanel

    • cPanel does not have a way to backup only theme files, but the easiest way would be FTP. Upload your theme folder to the /wp-content/themes directory (will likely overwrite the existing folder).

    • The addon domains shared the home directory as the rest of the files associated with the cPanel account. So this process should be the same either way.

  • i’m transfering another website by those procedures , any worries this will overwrite the current existing website ? anything I should do to make clear this is an new website beside the current one ?

    • i’m transfering another website by those procedures , any worries this will overwrite the current existing website ? anything I should do to make clear this is an new website beside the current one ?

      Apologies for the confusion on transferring your website by the restoration of the website files. You need to clarify if you are overwriting files in the new location where the files are being restored. If there is a website there, and there website files, then you may be overwriting an existing website. If you are simply restoring files from one location and then saving it into another, then your main concern will be the domain name that is be used so that the site is recognized on the internet. If it’s being used at an old location you will need to move that domain name (if you’re using the same one) from the old location to the new. For more information on the Nameservers, check out DNS and Nameserver changes. If you require further assistance with this issue, please contact our live support team (contact information at the bottom of the page).

  • Hi, I started restoring my 1.5gb file. It says “Restoring Files” and there are lots of files. In the last row It says

    ./.subaccounts/storage.sqlite" and stopped here. Is this ok and should I wait?
    • If you are unsure of the completed restoration, then please contact our live technical support team. They can tell you what has been restored and if the backup is still running. You can also look at your restored files using the cPanel file manager.

    • Thank you for letting us know! I have corrected the article.

      Please let us know if you notice any other issues,

  • I had my own  a blogging  site  with wordpress theme. I got 503 error initially and now I am unable to restore my website from cpanel.

    Kindly suggest me what should I do. The hositng provider says I need to get new website designed since he cannot restore the wordpress .

  • HI – I am restoring a home directory backup in cPanel. The backup was done this morning.  The restore window lists a ton of files and says “Restoring files…” at the top, and has been sitting like that for over 90 minutes.  How long does it typically take to complete the restore, and will I see a message that it has completed?  I restored the SQL database and I did get a message on the screen that it had completed, so I expected to see a similar message for the Home Dir but am not seeing it.  When I check the website, though, all appears to be well.  Thanks!

    • It should let you know when the restoration is done. If your problems persist, I recommend Contacting Live Support so they can help you unpack the backup.

      Thank you,

  • In my site , after sometime, it starts showing some unknown error. kindly tell me how can I manage with it while uploding backup.

    • Hello Vipul,

      Without any details, it’s difficult for us to troubleshoot the issue. If this issue requires some changes to the site, then you should contact our live technical support team (contact info at the bottom of this page).

      If you have any further questions, please let us know.

      Kindest regards,
      Arnel C.

  • Hi there , 

    I Uploaded The Backup Completly But When I Go To My WebSite It Says the file 

    “twentyseventeen” is lost . what should i do ?

    Please Answer ASAP thank you

    • The file should be within your File Manager. If you are having trouble locating it, you will want to contact your Live Support team for more assistance.

  • Is there any notification message or page refresh showing the message that the restoring is complete? My backup was around 900MB.

  • Hi, I made a complete full backup but now there is no place to upload it to restore it…

    When I unzip it, it’s directory itselfs so when I want to restore my home directory with the backup app, I can’t or it isn’t clear how I can.

    I tried restoring the “full backup” archive itself but it didn’t worked. So I have no clue what’s going on with that and how to restore it by myself.

    • If you have previously made a full cPanel backup from another host, or an earlier backup of your account with us, your cPanel backup can be restored. On shared hosting, or a VPS/dedicated server without root access, our Live technical support team will need to restore this backup for you.

      Thank you,

  • What’s included in the home directory. I thought it was just the public html folder, or is it one level up from there?

    • Greg, this can vary some from host to host, but with our hosting your user’s home folder will contain all your mail, some cPanel files, and some other files as well.

  • I did partial home directory backup (file 1.5 Gb). When click Upload button, it lauched a separate tab with blank page as tile and noting in the page while seeing dots are turning on top above url field. No feedback and not know if it is restoring or not


    • Jerry, unfortunately cPanel does not provide a progress for restorations, but rest assured that it is indeed processing.

    • I would suggest contacting the new hosting provider. They should be able to explain how to extract a backup in their platform.

    • Hello – I am doing a cPanel restore of my public html folder from another server. Is there a way to know that the process is working? From watching the progress bar I know it has been uploaded but I don’t see any progress in file manager or anything like that. It’s a large file (7GB).

    • Unfortunately, there is no progress notification information available. If you are uploading with an FTP client (such as FileZilla) it should provide a progress bar.

      Thank you,

  • OMG!!! I accidentally deleted files on 1/1 and contacted support on 1/2 and the support person told me that there was nothing that could be done! Uggh! I just submitted a data restoration request, but here it is Jan 7th now! Why don’t 1st tier support know this?

    • They can only restore data that exists on the backup. If you contacted Support on the 2nd, but the incident occurred on the 1st, then the backups had likely already been written over and the data lost. They can assist you with restoring a personal backup, however.

  • Based on the information provided in the original post, is it safe to assume that a backup file of 1.3 GB might not show any progress in the broweser window for some time? I think the real issue we have is that it’s not providing feedback. It sits idley at “Restoring Files…” with and empty progress bar and appears as if nothing is happening.

    • David, yes it is relatively safe to presume that a file greater than 1GB will take some time. Unfortunately, it’s hard to be sure how long as transfer / upload speeds can vary greatly.

  • hi , guys , i have upload home directory backup from backup wizard in cpanel. after upload almost  2GB data, its showing me (The system will restore your files … )

    can anyone tel me what should i do now. 



    • Once you click the button to begin the restore, it should start. 2GB is quite a bit, so it may take some time before it finishes.

  • Hi,

    In my oracle database i have sunday cold backup,after monday and thuesday i dont have backup.wednesday my database gone to recover lost two days backup.database running no archive log mode.

    • If the backups are gone, I doubt you’ll be able to recover it. For my personal sites, I store the backups off-site remotely for be safe.

  • sir i suddenly deleted everything from my file manager and i donnt have backup and also the hoster from where i buy and paid for website they also donnt have any backup so what can i do my file manager is empty now and website url says (404 not found) what can i do now sir please explain ?


    • Hello Murad,

      If you’re a customer of InMotion then you do have the option of requesting a restoration of the progressive backup that is done automatically every 24-36 hours. However, if your site has gone over the 24-36 hour mark, then you may not be able to recover it. Unfortunately, if you have no backups and no way to restore the site files of old, then you will need to re-create the missing content in order to resolve the 404 errors.

      If you have any further questions or comments, please let us know.

      Arnel C.

  • I’m trying to restore using a database back up created by the Updraft WordPress plug-in for I’m getting the “The system will restore your files” message and the status bar has been in the same place for quite some time – probably 30 minutes now. I created the php file mentioned above and when I viewed in a new tab it showed only the php script. Please help! 





  • Hi, Is it possible to do a Home directory backup to a subdirectory? I want to clone a site so that I can test some wordpress updates before applying the updates to the live site. This is an operating online store so I did not want to mess with the live version without going through this process.


  • Hi – thanks for the great [email protected]  My question is this:  If I need a single file restored, and not the entire backup, is there a way to extract that one file out of the gz backup file?  Many thanks!

    • Yes, all you need is to open the compressed file on your local machine and extract the specific file. You can then upload that single file to your account.

  • hi,

    am uploading my 2.5 GB backup but it shows connecting only more than half hour there is no response.

    • Hello Yasar,

      Because the file is so large you may need to contact our support department to restore the backup for you. cPanel has a chance to corrupt any restoration via the interface that is around 3GB.

      Best Regards,
      TJ Edens

  • Our support has deleted our cpanel account and we have to revive the mail accounts and the content of the email that we have been receiving on it. Is there is a way to recover our mail account contents from there, even after deletion of cpanel account? Please help…

    • There is no way to recover those messages without some kind of backup or a copy of the emails from a different location.

  • Hi There, I have completed the above steps and all im getting for the past 30 mins is the same message :


    Restoring database “backup-m2-real-estate-20160417-125510-gSs4QLNWwZCwDz79KRlj9n5LEvuY1B”


    Please advise if this is working as nothing else has changes since then

    • It is possible that the recovery stalled. Have you checked your files to see if everything is where it should be? Or, are files missing?

  • Hi, I started the restoring proces of the home directory and I did see the uploading percentage, but once that reached 100% i can only see the restoring files message without anything else on the screen. Any ideas. I am using Chrome.

    • Hello Kfir Man,

      The video that’s being shown involves a plugin that we don’t currently have on our servers. If you wanted to have that setup, you would need to be on a vps/dedicated server where the plugin could be setup for your account, and then associated with individual cPanel accounts.

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

      Arnel C.

    • Hello Mihir,

      I’m not sure how you created your backup, or if you’re using the Web Builder that they have. You can check out this Restore article for more information about restoring a backup. If you’re working with their Web builder product, then you’ll need to look at their documentation to restore those backups.

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

      Arnel C.

  • Hi

    I accedentaly deleted a file from the file manager in public_html.

    I have downloaded a full back-up from a few days ago and saved it locally.

    How do I now restore the full back up?


    Many Thnaks 

  • I’ve tried doing this too but it hasn’t worked. Everything remains the same :/ Getting so frustrated because I’ve followed these directions exactly but yet, nothing changes and things are still a mess from files going in the wrong places >,<

    • Hello Sheryl,

      If you are a customer of ours and have gone through these steps and are still having issues getting files in the right place, you may want to check with our Live Support team so they can look into your account.

      Kindest Regards,
      Scott M

  • Hi all 


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

    please help me 

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

  • 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


    • 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

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

    • 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

  • Hi!

    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.

    • 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

  • Hi,

    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

    • Hello Jaze,

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

      Kindest Regards,
      Scott M

  • 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

    • 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

  • 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?


    • Trevor,

      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.

  • 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?

    • 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,

  • Hi!

    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?

    • 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,

    • Hello,

      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

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

    • 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

  • 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?

    • 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

Was this article helpful? Let us know!