SugarCRM is a full-featured Customer Relationship Management software package. SugarCRM runs on a web server and can support multiple users. SugarCRM is open source software.
For anyone whose web-host uses cPanel, and most do, this short tutorial will show you how to create automated backups of your website.
You can either watch the whole video, or click on the link at each step and that will take you to the specific part in the video where I describe that step.
Note: for some reason linking to a specific point in a YouTube video stopped working. To compensate, I've added the approximate time where I cover each step in the HH:MM format. This way you can easily find what your are looking for.
$cpuser = "XXXXXX"; // Username used to login to CPanel
$cppass = "XXXXXX"; // Password used to login to CPanel
$domain = "example.com"; // 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
You can see what skin you are using by login into your cpanel and look on the left hand side. (watch video)
Optional:
If you want to store the backup on a remote ftp host place that information here: (watch video)
$ftpuser = "XXXXXX"; // Username for FTP account
$ftppass = "XXXXXX"; // Password for FTP account
$ftphost = "ftp.example.com"; // Full hostname or IP address for FTP host
Where do you want the backup to be stored? (watch video)
// Where do you want the backup to be stored?
$mode = "homedir"; // FTP mode ("ftp" for active, "passiveftp" for passive, "homedir" for web home directory)
'homedir' is selected by default, but you can choose ftp if you want.
3. Upload the code to a folder in your home web directory. Do not upload the file into 'www' or 'public_html' (Time 03:35 watch video)