/ Published in: PHP
Save this file as a .php somewhere on your webserver - NOT A WEB ACCESSIBLE LOCATION! Edit the lines in the top portion to suit your needs and call the file from bash like this: $> php cpanel-backup.php
You can use a cronjob to make this run automatically!
You can use a cronjob to make this run automatically!
URL: http://www.arnoldb.com/2009/07/21/cpanel-full-site-backup-with-php/