SALE. on all hosting.
Use promocode:
SPRING30
Login

How to configure a WHM/cPanel backup on new disk

First log into your server via an SSH client such as PuTTy, and run these commands:

mkdir /backup

chmod 755 /backup


(You can now close PuTTy)

Next, on the Cloud Data Centre control panel and select your VM. On the VM properties screen select "Storage" -> "Disks"

 


On the Disks page click the "Create Disk" button at the bottom of the page and fill out the form to your requirements, however set the mount point as "/backup" to match the folder, and tick the "Add to Linux FSTAB" (In the example below the disk is a 10GB disk).

 



The next steps take place  in WHM

Log into your VM’s WHM as root, and type “Backup” in the search box above the navigation menu – then click the “Backup Configuration” link. From this page you can then set up your backup schedule, for which we recommend taking backups every day, with a retention period of 7 days.

First enable the backups, and set the type as “Compressed” as the image below shows – you can also set incremental backups, however Compressed backups are more versatile later when restoring accounts.

 



Next scroll down to “Scheduling and Retention” and select the options you would like. As mentioned above, we recommend taking them every day, and holding the backups for at least 7 days.
After you have configured the schedule to your liking, scroll down to “Configure Backup Directory” section and enter /backup as the default backup location.

 

 

You can then scroll down to the bottom of the page and select “Save Configuration” to complete the backup drive setup.

Recent Posts
Setup /tmp to auto clean using tmpwatch

q) my /tmp is full, how do i delete the contenta) open SSH to your server, if SSH will not...

Forwarding to gmail/hotmail/yahoo blocked by cpanel

Forwarding to free mail providers is prveneted by cpanel to protect its IP from being blacklisted...

How to install CPanel

Before following this tutorial, please make sure that you have followed the "build a linux...

How do I enable PHPMail()

We disable PHPMail() function on all Linux VMs, this is often something that is abused and can...