cPanel Alnitech Backup Configuration

The Backup Configuration page of WHM management interface allows system administrators to customize their scheduled backups. Being a client of Alnitech one is advised to order our backup service (available as an addon to dedicated servers), this would allow the customer to do fast, reliable and secure backups onto another server located in the same datacenter. Optionally, off-site replication is also available.
To configure the Backup we need a working WHM & cPanel installation, an ordered backup addon for a server.
Alnitech offers secure backups via ssh program suite (scp, sftp), via rsync over ssh protocol transfer, or via Windows file sharing protocol (SMB).

The following instructions are recommended and valid for WHM 11.50.

Configuring a backup
1. Log in to your WHM web interface.
2. Navigate to Backup Configuration in Backup options group.
3. Make sure Backup Status set to Enable.
4. Select either Compressed or Uncompressed for Backup Type that you think fits better if you want to backup only using built-in WHM & cPanel tools. Incremental backup is not supported by cPanel for remote backups, but you can use it with local-only cPanel backups plus custom cron job.
5. Enter maximum number of seconds the backup will attempt to run (depends on your data volume).
6. Select backup schedule in Scheduling and Retention. We recommend everyday backups if your data volume is not too high to consume all available space too fast or if it would not take too long.
7. Select type of data to backup: accounts and system files.
8. Configure local Backup Directory.
9. Configure actual Remote backup:

  • For built-in WHM & cPanel backup tool (recommended):
    • Select SFTP as Destination Type in Additional Destinations backup settings.
    • Press Create new destination button.
    • Fill in Destination Name field with any name you like, ie alnitech backup.
    • Leave Backup Directory field empty.
    • Use backup IP provided within server delivery email as Remote Host.
    • Tick Transfer System Backups to Destination checkbox.
    • Leave Port 22 as is.
    • Use root as Remote Account Username.
    • Tick Key Authentication under Authentication Type.
    • Press Generate a new key button.
    • Fill in 4 options for the key to be generated, the defaults provided seem to be good enough.
    • Press Generate Key again to generate the key.
    • After the key has been generated use /root/.ssh/id_rsa for Private Key path if you did not select custom destination, use your custom value otherwise.
    • Provide public part of the generated key (contents of file /root/.ssh/ by default) to Alnitech staff as requested in the appropriate ticket opened with your server delivery. Do not hesitate to contact us if the ticket had not been opened in time.
    • Provide valid Passphrase (leave empty if it was not specified during key generation).
    • Press Save Destination.
  • To configure manual remote backup you should configure key-based authentication for ssh via $HOME/.ssh/config and add rsync (something like rsync -qa /backup yourBackupIP: > /dev/null 2>&1) to your cron job list, this is out of this document’s scope and is just an example for advanced users.

10. Press Save Configuration.
11. Navigate to Backup User Selection and select user you want to back up.

Restoring from a backup:

1. Log in to your WHM web interface.
2. Navigate to Backup Restoration.
3. Select which accounts and at what date’s state you would like them to be restored. Add them to queue (Add Account to Queue).
4. Press Restore.

Remember: there are those who do backups and those who lose data. It’s much more comfortable for your business if you are with the first group.

See our Knowledgebase for more How-To articles.

Comments are closed.