How I backup my website in cPanel hosting?

Backup in cPanel hosting. 

The Backup interface allows you to download and store your site in a backup file. This interface also allows you to restore your website from a backup file.

Note:
  • Newer users may prefer to use the Backup Wizard interface (cPanel >> Home >> Files >> Backup Wizard).

  • The system stores backup files as tarballs that use the .tar.gz file extension.

  • Some settings only appear if your hosting provider’s server profile enables them.

Full Backup

In this section, click Download a Full Web Site Backup to create, download, or store a full backup file. The Generate a Full Backup interface will appear.

Important:
  • You cannot use a full backup file to restore your website through the cPanel interface. Contact us for assistance.

  • You must decompress the backup file before you attempt to restore it.

  • After you decompress the backup file, you can upload and restore individual portions of your website that the full backup file contains.

  • The backup process for an account near or over its quota may fail because the system cannot write necessary files, such as a database lock file.

Generate a Full Backup

To create a new full backup, perform the following steps:

  1. Select a storage setting from the Backup Destination menu:

    • Home Directory — Select this setting to save the backup file on the server.

    • Remote FTP Server — Select this setting to use FTP to store the backup file on a remote server.

    • Remote FTP Server (passive mode transfer) — Select this setting to use passive FTP to store the backup file on a remote server.

    • Secure Copy (SCP) — Select this setting to use secure copy protocol (SCP) to store the backup file on a remote server.

  2. Select a notification setting:

    • To receive a notification when the backup finishes, enter your email address in the available text box.

    • If you do not wish to receive a notification, select Do not send email notification of backup completion.

  3. If you selected Remote FTP Server, Remote FTP Server (passive mode transfer), or Secure Copy (SCP) from the Backup Destination menu, enter the remote destination’s information in the available text boxes.

  4. Click Generate Backup.

Account Backups

To download an existing full backup file to your computer, select the desired backup file’s filename from the Account Backups menu.

Note:

The backup file uses the backup-MM-DD-YYYY format, where MM is the month, DD is the day, and YYYY is the four-digit year.

Partial Backups

Partial backup files store individual sections of your account.

Download a partial backup

To download a specific item, click the desired items. This method downloads the backup file as a .gz file to your computer.

Warning:

The Email Filters backup files only store the domain account-level email filters from the /etc/vfilters/$domain file. The backup file does not store user account-level email filters.

Restore a partial backup

To use a partial backup to restore a portion of your website, perform the following steps:

  1. Click Choose File under the appropriate heading. For example, to restore a MySQL® database, click Choose File under the Restore a MySQL Database heading.

  2. Select the backup file from your computer.

  3. Click Upload to restore that portion of your website.

Home Directory backup file contents

When you back up your /home directory, the backup file includes the following files:

  • All of the files that you own.

  • Files that you do not own, but can access.

Note:

Backup files do not include files from your /home directory that you do not own and cannot access.

To exclude certain files and directories from a backup file, place a configuration file in your /home directory. For more information, read our How to Exclude Files From Backups documentation.

  • cpanel backup, backup website in cpanel, full backup in cpanel, website backup and restore
  • 18 Users Found This Useful
Was this answer helpful?

Related Articles

Before creating Addon domains

Addon Domains are handled like subdomains as far as the server is concerned, but to the outside...

How to log into cPanel

If you recently purchased a new account with StretchHost, you should type the following...

How do I create or delete a MySQL Database?

Create: If you are using any type of PHP software or keeping a collection of records which need...

How to change permissions of a file (CHMOD)?

Permissions can be very important when it comes to hosting your website. Permissions can allow...

How do I create and delete a cron job?

Cron Jobs run scheduled tasks at specific times. This is good to set up automated maintenance and...

Powered by WHMCompleteSolution