More Technical Help

Sunday, March 6, 2011

How to configure remoe backup through WHM

You can specify how often backups occur and where backups are placed - either on the same server or on a separate backup drive. You can also specify the specific parts of the backup process that are enabled.

The following describes backup interval options available to you through WHM:

  • Daily - cPanel and WHM performs separate daily, weekly, and monthly backups.
  • Weekly - cPanel and WHM performs separate weekly and monthly backups.
  • Monthly - cPanel and WHM performs only monthly backups.

1. When the page loads, set the following:

  • Backup Status - Turns the automatic backup function on or off. You have the following options available to you:
     
    • Enabled
    • Disabled
    • Restore Only - Allows site restoration from old backups to occur, but does not create new backups.
       
  • Backup Interval - Specify the interval used by the backup process. (Note: Selecting Daily Backup with give you monthly and weekly as well unless you choose not to retain them in the "Backup Retention" setting below. Selecting Weekly backup will give you monthly as well unless you choose not to retain them in the "Backup Retention" setting below.) You have the following options available to you:
     
    • Daily
    • Weekly
    • Monthly
       
  • Backup Retention - See "Note:" in the "Backup Interval" setting above.
     
  • Days to run backup - Click on the check boxes associated with the days of the week you want to run backups. You can choose all seven days or select only the days specific to your needs.
     
  • Remount/Unmount backup drive - Mounts and unmounts the backup drive when a backup is created. This requires a separate drive mount to operate. (Note: requires a separate drive/coda/nfs mount.) Your choices include:
     
    • Enabled
    • Disabled
       
  • Bail out if the backup drive cannot be mounted - Stops the backup if the drive can not be mounted. Recommended if the Remount/Unmount backup drive option is enabled. Your choices include:
     
    • Enabled
    • Disabled
       
  • Incremental Backup - Backup process only copies what has changed since the last backup. This creates a much smaller backup file, but changes are gradual and the backup files are not compressed. Not compatible w/ftp backups. Your choices include:
     
    • Enabled
    • Disabled
       
  • Backup Accounts - Backup process copies all account information for your customers. Your choices include:
     
    • Enabled
    • Disabled
       
  • Backup Config Files - Includes config files in the backup process. Your choices include:
     
    • Enabled
    • Disabled
       
  • SQL Databases - Includes MySQL databases in the backup process. You can choose to backup up databases in separate accounts, the master MySQL directory, or both. Your choices include:
     
    • Per Accounts Only
    • Per Accounts and Entire
    • Mysql Dir
    • Mysql Dir Only
       
  • Backup Raw Access Logs - Includes the Apache raw access logs in the backup. Your choices include:
     
    • Enabled
    • Disabled
       
  • Backup Type - Select what type of backup you need. Your choices include:
     
    • Remote Ftp Server (Accounts Only)
    • Standard
       
  • FTP Backup Host (Remote Ftp Backup Only) - Enter the domain name of the FTP backup host in the text box provided (only required if Remote FTP Server is enabled). (If the FTP port is different on remoteFTP server, then you need to metnion it EX : 192.168.1.2 : 2021 where 2021 is the ftp port) 
  • FTP Backup User (Remote Ftp Backup Only) - Enter the user name to use on the FTP backup host in the text box provided (only required if Remote FTP Server is enabled).
     
  • FTP Backup Pass(Remote Ftp Backup Only) - Enter the password to use on the FTP backup host in the text box provided (only required if Remote FTP Server is enabled).
     
  • Ftp Backup Directory/Path - [optional, a directory called cpbackup in the ftp account's directory root will be used if none specified examples: /home/fred/cpbackup,/backup/cpbackup,/files/cpbackup] (Remote Ftp Backup Only)
     
  • Use Passive mode for Ftp transfers - (required if you are behind a firewall or ftp backups fail) Your choices include:
     
    • Enabled
    • Disabled
       
  • Backup Destination - Enter the location of backups in the text box provided. This should be a dir/NFS/coda mount with at least twice the space of all your /home* partitions.

    WARNING: Do not set this to your /home directory.

     
  • Select Specific Users - Click on the "Select >>" button to select user accounts you want these configuration settings to apply. A new window will open listing two columns containing the following:
     
    • Backup User - The username of the account.
    • Domain - The domain of the account.

      By default, all check boxes are checked. If you do not want these backup configuration settings to apply to a particular user or account, click on the associated check box.

      When you have finished selecting the users you want the backup configuration settings to apply, click on the "Save" button at the bottom of the new pop-up window.

2. When you are finished configuring the settings above, click on the "Save" button.

3. You should a confirmation statement similar to the following:

"Backup Configuration Saved!"

0 comments:

Post a Comment