Cron Backup (manual) cPanel script no longer works with Jupiter
Hello,
I have been using this script for couple of years for extra cPanel backups, however, with new cPanel Jupiter theme, this no longer works.
Would somebody be able to provide information / help on how to resolvee this and havee this script working again with Jupiter?
Time and help is greatly appriciated.
Script:
// PHP script to allow periodic cPanel backups automatically.
// Permissions on this file should be 600
// Place outside your public_html
// Crontab: 30 3 * * * /usr/local/bin/php /home/username/cpanel_backup.php
//
-
Hey there! While I can't help with a custom script, I'm guessing the main issue is that URL doesn't exist anymore. You'd want to change this: fputs($socket,"POST /frontend/".$skin."/backup/dofullbackup.html?".$params." HTTP/1.0\r\n");
to the current page, which is /frontend/jupiter/backup/dofullbackup.html I'd recommend trying that and seeing if that works.0 -
Thanks, i will give it a try and let you know if that works (as it might help other users of the script as well). 0
Please sign in to leave a comment.
Comments
2 comments