InMotion Hosting Support Center
cPanel Backups

In this tutorial we will show you how to do a Full cPanel Backup of your account. Backing up your website is a necessary step for all users. Before making any changes to your website, it's best practice to always create a backup. Cpanel has a built-in backup tool to assist you with creating backups. This handy utility will create a zip file (compressed file) that you then can download to your local computer for storage.
Please be advised, we do not allow anyone to store backups in File Manager, you must store them off of the server. Creating a full backup ensures you back up everything and is the safest method to ensure all your website files and emails are safe. We recommend that all of our customers maintain their own backups. Be sure to read our Do you run backups of your servers? article for an overview of how backups are maintained for our servers.

Performing a Complete cPanel Backup

  1. Login to your cPanel.
  2. Click the Backup button in the Files section of cPanel.
  3. In the Full Backup section, click the Download a Full Website Backup button.
    Complete Back Up in cPanel
  4. On the next screen make sure the Home Directory option is selected.
  5. If you want an email notification when the backup completes, enter your email address. If you do not want an email, check the box next to Do not send email notification of backup completion.
  6. Click the Generate Backup buton to begin the Full cPanel Backup.
    Create a Complete Back Up

    You will then see a message stating "Full Backup in Progress..." Allow some time for the backup to complete, you will receive an email notification upon completion (if you entered your email address in the last step).
  7. Download the file from your cPanel. It will be located in your /home directory, begin with backup, and include the date. For example: backup-10.26.2016_15-51-32_example.tar.gz

Congratulations, now you know how to perform a Full cPanel backup! We also have walk-through guide on backing up your website files, and backing up a database in cPanel.

Continued Education in Course 202: Managing your Files in cPanel
You are viewing Section 1: How to Perform a Full Backup in cPanel
Section 2: Renaming files and folders in cPanel

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

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
n/a Points
2016-04-21 11:34 am

Maybe I missed it but it would be nice to be able to print these out to have on hand.

Staff
29,997 Points
2016-04-21 12:47 pm
Hello kraig,

Thank you for contacting us. You should be able to "right-click" in the browse and choose Print, or use "Ctrl + P" at the same time to bring the print menu up.

Thank you,
John-Paul
n/a Points
2016-06-20 10:15 pm

Any way to automate a full cPanel backup? I'd rather not have to go through the GUI as part of my weekly routine and would rather have a cron job or something do it for me.

Staff
9,669 Points
2016-06-21 9:07 am
Yes, it is possible with cron jobs, but it is recommended that you have an external storage area to hold the backups. FTP is used typically, and you can add your backup script to the crontab through cPanel.
2016-12-13 2:16 am
Christopherm, where can I find a backup script that works with inmotionhosting.com's servers? I have a PHP script that I use to automate Cpanel backups on a different host's server, but it doesn't work with inmotion's server.
n/a Points
2016-07-25 1:08 pm

Hi, I have tried to generate my backup since june and I can´t. I have two backups of April and May but in June and July I have had'nt. What do I can do ?

Staff
43,761 Points
2016-07-25 7:44 pm
How large is your account? Larger accounts cannot be created by using the backup tool. You can zip the home directory files and download them and then export your databases by using the Export tab in phpmyadmin.
n/a Points
2016-08-26 4:04 am

I have been using Backup and Restore Dropbox Plugin. It is safe and very convenient for Website Backups. You can access it from this link below:

https://wordpress.org/plugins/dropbox-backup/

n/a Points
2016-08-29 12:57 pm

Does taht operation get the databases as well or just the site's file system?

Staff
43,761 Points
2016-08-29 6:18 pm
It grabs all the databases as well.
n/a Points
2016-08-31 2:30 am

Even if you do a full backup in cPanel, how would you restore it?

Staff
39,923 Points
2016-08-31 7:53 am
Hello Romeo,

If you do a full cPanel backup and you do not have root access with a VPS or Dedicated server account, then it would require a request to the live technical support team. If you're on a business level account (shared server), any full cPanel restore can only be done by the technical support team.

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

Regards,
Arnel C.
n/a Points
2016-10-22 5:32 am

Hi, Will this backup include the database and files? 

Staff
43,761 Points
2016-10-24 9:49 am
Hi Jenna,
Yes, the full backup includes the databases as well as the files.
n/a Points
2017-01-30 12:53 am
When you do a "Home Directory" backup, what exactly is backed up? All the public_html I would expect, but what about files/dirs in home? I presume it excludes the software? It must include the /mail folders, but is anything else included? Is that sufficient to totally restore all the files for your website?
Staff
13,701 Points
2017-01-30 4:14 pm
Everything from /home is backed up. So anything that is in your root folder for your account is backed up.
n/a Points
2017-02-02 2:49 pm

Mahalo, Tim.  My problem is that I want to move my site from Arvixe as they are very insecure (and do not respond to help requests). I worry that there are hacker files in my "home" area, although the public_html is clean. I do not know much about the non-public files and directories, so am not sure what I might need from it, but we do want our email.

I have a full backup, but I don't really want to have you folks restore it as I fear I will get any hacker garbage that might be hiding there somewhere.  Do you have any suggestions on how I could move stuff (presuming I knew what actually needed to be moved to get all the mail)?

Mahalo!

Staff
29,997 Points
2017-02-02 3:50 pm
The "home" directory backup should include your email, as well as any files. The only thing it will not include is your databases.

You could try scanning it (with your local antivirus) before uploading it to our servers. This could help clean existing hacker files.

Thank you,
John-Paul
n/a Points
2017-02-03 2:58 pm
Thank you, John-Paul. My Kaspersky Total Security wants to delete the entire gz archive when it finds malware, but if I just FTP'd the entire /home/user/ from Arvixe to my PC and then scanned that it would probably work.

If Kaspersky flagged something I could manually go to the domain and delete anything it detected. How would I know if it was something critical? Guess it wouldn't matter. ;D

Can I delete the /home/user/tmp area? I am presuming that tmp really does mean temporary and won't affect anything? If so, I can avoid having to download that.

At this point, the cPanel says it is using around 13GB, although the gz file is just over 5GB. Since that is over the 10GB, I presume I would have to FTP it anyway. I am not sure why it is so large, as my public_html area is tiny.
Staff
2,858 Points
2017-02-03 3:02 pm
Geckohale, please keep in mind that traditional personal computer security scanners are not intended to scan website files. Deleting the 'tmp' folder is not recommended. However, if you have files or folders inside that folder that you know you don't need, you should be safe to remove those.
2017-02-03 3:18 pm
I have more problems. The shared server I am on apparently has a misconfiguration of root admin and mod_userdir protection is disabled, which lets users access their sites through other sites on the same shared host. This was what was indicated on the Google Webmaster Central Help Forum. Unfortunately, I included the Google post on my ticket about the hacking, along with the cPanel documentation link for it, but they have never responded in over 2 weeks.

I thought I had gotten all the hacks off, but this morning I found another one in the logs, so I now have /~migps in my public_html (I had similar /~user/ ones before. I have even signed on with SSH/PuTTY, but I still cannot "see" them using ll.

I really don't know what to do (other than change my cPanel password yet again, which I did immediately).

Do you have any suggestions? We desperately want to get off Arvixe since they are allowing this and don't respond at all.
Staff
2,858 Points
2017-02-03 3:25 pm
Yes, mod_userdir functionality is enabled on our shared servers by default, but this is not a security issue, as this only allows access to files that are already publicly accessible. There is no write access to any other user's files, and no access to files that are not publicly available. We have an article with recommendations for dealing with a hacked account right here in our Support Center.
2017-02-03 3:21 pm
I must have misunderstood. I thought you recommended scanning it with my PC antivirus before uploading it to your server?
Staff
2,858 Points
2017-02-03 3:25 pm
You can certainly scan these files, but it is unlikely to catch most of what may be considered malicious in a web hosting context.
n/a Points
2017-02-04 8:36 am

please guys help me out how can i recover public_html files ... mistakenly it has been deleted from trash as well ... i cann't restore from trash please help me out ..

Staff
13,701 Points
2017-02-05 6:40 pm
I suggest contacting support to see if we can restore them or if there's a backup available.
2017-02-07 12:51 am
Re: Post by caseyb (staff) on 2017-02-03 @ 3:25 pm

When caseyb said that "mod_userdir functionality is enabled on our shared servers by default" did he mean that mod_userdir PROTECTION is NOT enabled; i.e. you are permitting mod_userdir use by everyone on your shared servers???

If that is really true, then you should read the CPANEL SECURITY CHECKLIST documentation at https://documentation.cpanel.net/display/ALD/Apache+mod_userdir+Tweak which states:

"Most servers use the mod_userdir Apache module as a temporary URL system that allows users to view their websites. This temporary URL system functions even if the system has not configured DNS or the domain does not yet point to the server.
Note: When you enable the mod_userdir module, any virtual host can access any website that uses the same IP address. It does not function only with the hostname."

Please note that "When you enable the mod_userdir module, ANY VIRTUAL HOST CAN ACCESS ANY WEBSITE THAT USES THE SAME IP ADDRESS."

This is what happened to MY website on my old shared server, but I didn't find out why until I went to Google Webmaster Help forum and found posts all over the place about this security problem. See Noman Riffat's post at https://productforums.google.com/forum/#!msg/webmasters/SYHbOC4E6tk/xMYfwDCUAgAJ or just search for his name in the forum.

Please verify for me whether InMotion Hosting permits mod_userdir use by its users on its shared servers. Or do you recommend I ask this question via a Support Ticket?

Thank you.
n/a Points
2017-02-09 10:48 pm

If I Download a Full Website Backup by Performing a Full Backup in cPanel from my home directory, then later need to restore. What happens to email that arrived in the interim between the backup and restore period??

Staff
13,701 Points
2017-02-10 8:33 am
Anything that arrives after the backup has ran will no longer exist once the backup is restored.
n/a Points
2017-02-22 12:22 pm

I have a GoDaddy hosting account that has multiple (13) domains mapped to sub-folders with 13 separate Wordpress installs. I want to migrate all 13 Wordpress installs to my new InMotion hosting account. Is there any changes to the procedure you have outlined here? 

http://www.inmotionhosting.com/support/website/website-transfers/migrate-your-website-another-host-uses-cpanel

Thanks,

Dennis

Staff
39,923 Points
2017-02-22 6:06 pm
Hello Dennis,

Website transfers are handled on a case-by-case basis. You can see the requirements fo requesting a transfer here: How to Request a website transfer in the Account Management Panel (AMP).

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

Regards,
Arnel C.
n/a Points
2017-02-28 9:11 am

I just did a full backup and then downloaded it to my local computer.  Do I have to delete it, my backup, from my VPS on InMotion server because your statement says:

"we do not allow anyone to store backups in File Manager, you must store them off of the server:

Staff
13,701 Points
2017-02-28 9:24 am
If you are on a VPS you can store the backup. If you are on shared, you should delete whenever you no longer need it. It's advisable to store backups in an offsite location, just in case there's physical damage to the drives.

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

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

38 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

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: support@InMotionHosting.com
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!