If you want to make a Full Backup using cron job and transfer it via ftp to a remote server, you can use this script
Download it from here :
fullbackup.php
extract the file and open fullbackup.php and configure the following lines

// ********* THE FOLLOWING ITEMS NEED TO BE CONFIGURED *********

// Info required for cPanel access
$cpuser = "*********"; // Username used to login to CPanel
$cppass = "*********"; // Password used to login to CPanel
$domain = "*********"; // Domain name where CPanel is run
$skin = "x3"; // Set to cPanel skin you use (script won't work if it doesn't match). Most people run the default x theme

// Info required for FTP host
$ftpuser = "***************"; // Username for FTP account
$ftppass = "***************"; // Password for FTP account
$ftphost = "***************"; // Full hostname or IP address for FTP host
$ftpmode = "ftp"; // FTP mode ("ftp" for active, "passiveftp" for passive)
$ftpport = "21";
$ftpdir = "/";

save it and upload to your home directory and login to your Cpanel and add this line to the cron job

/usr/local/bin/php /home/xxx-your directory-xxx/fullbackup.php

have fun

Pin It on Pinterest

Share This