BuycPanel Blog

BuycPanel Blog

Latest news and updates

11/04/2014 – Download a Home Directory Backup via cPanel

Posted by Jamison on 04 11 2014.

A good website will give you a creative layout, meaningful and informative content, and an attractive selection of webpages. However, you also need to ensure that your account is secure and protected. Putting up a website does not start and stop with its launch as its success is dependent on how you will be able to maintain it and how you can boost its ROI.

 

Working with cPanel will enable you to maintain your site efficiently and you can get the best out of your site management experience since you will have a lot of things to learn. It will help you apply both your creative and analytical skills. Creating a backup is a very important task in maintaining a website. It is necessary that you  backup your files on weekly or monthly or before you make any major changes so that you will not lose any data in case the modification is not successful.

 

A home directory backup will backup all of the files in your home directory. This can be useful for backing up the files for your site; however, it is only a partial backup, and it will not include DNS, MySQL or other system files and settings. If you would prefer to generate a full backup, please see the following article:

 

Create a Home Directory Backup

To create a backup of your home directory:

 

  1. Log into cPanel.
  2. In the Files section, click on the Backups icon.
  3. Under Partial Backups Download a Home Directory Backup, click the Home Directory button.
  4. In the popup that appears, click Save As or select Save File.
  5. Select a destination where you would like to store the backup locally.
  6. Click Save.

 

The backup file will be downloaded to the destination you have chosen in a .tar.gz file which can be opened with Linux command line. The file can also be unzipped from a Windows-based machine with the appropriate software.

 

A home directory backup can be restored in cPanel, in the same place where the backup was created.

 

  1. Log into cPanel.
  2. In the Files section, click on the Backups icon.
  3. Under Partial Backups > Restore a Home Directory Backup, click on the Browsebutton.
  4. In the popup that appears, navigate to the appropriate destination and select the backup file you intend to use.
  5. Click Open.
  6. Click Upload.

 

A new tab will open, displaying all of the files that were replaced. This is only for confirmation purposes and is safe to close.

 

A full cPanel backup makes a copy of all of your files, email, databases, etc. Once initiated, you must allow the backup time to perform. The server can send you an email to an address you specify once the backup is ready to download. The steps for generating, downloading and restoring a full backup are explained in detail below

 

How to Generate a Full Backup in cPanel

To generate a full backup in cPanel:

 

  1. Log into cPanel.
  2. In the Files section, click on the Backups icon.
  3. Under Full Backup, click Generate/ Download a Full Website Backup.
  4. On the next page, select the Home Directory option from the Backup Destination drop-down menu.
  5. For Email Address, select whether or not you wish to receive an email notification once the backup is complete. (You may also change the notification email address in the provided field if you wish.)
  6. Click Generate Backup.

 

This will generate the back up for you and place the tar.gz file inside of your home directory. You can then download the backup via cPanel, FTP or SSH.

 

How to Download the Full Backup

To download the backup from cPanel:

 

  1. Log into cPanel.
  2. In the Files section, click on the Backups icon.
  3. Under Full Backup, click Generate/ Download a Full Website Backup.
  4. Under Backups Available for Download, click the link for the backup file you wish to download.
  5. Select a destination on your PC where you would like to save the backup.

How to Restore a Full Backup

 

A full backup must be restored by the root user for the server. We will restore your full backups for free as long as the account previously existed on the server and you have uploaded the file yourself.