If you host your website using cPanel, we have provided a free, fully customize-able script for backing up your full web hosting site.
We have received a couple of questions about security recently so we decided to simply highlight clearly that you can configure the CPanel backup script to transfer your backup files over SCP.
SCP is not SFTP, though it is often confused. The backup script uses native cPanel API calls and is therefore only as powerful or as limited as the base-cPanel implementation.
How to enable Secure SCP transfer of cPanel backup files
To see the demonstration on how to backup your web hosting using our cPanel script, please see our original article and video on automating cPanel backups.
If you want to see where to enable SCP, look at the 1:20 mark on the video. The item you need to edit is
where it reads
change this to
Next, change the item:
from 21, to
Now it should be noted at this stage that 22 is the default port normally used for SCP. You must check with your server which port SCP services are configured to use – and of course that your server even supports SCP!
If in doubt, check with the service provider.
Now all that is left is to download the cPanel backup script
If you’re not already a member of the Host Like Toast Developer Channel, you can do so for free today using the form below.
If you’re a reseller hosting provider and you need a script to backup all your clients hosting, you can purchase our premium reseller backup script here.
If you have any questions or comments, please feel free to drop them in the area below!