Change default backup destination?
hello CPanel community :)
i am trying to change default full backup destination of dofullbackup.php,
i am running this basic script in my cron job,
whenever i set ftp true the backup will fail,
is there a way to use lftp with this script?
or ideally just set a different local folder output then root dir instead of moving a local file via ftp locally?
TIA
Chris
[PHP]
-
Hello, Rather than using the custom PHP script, try using the command referenced on the feature request for this functionality when setting up a cron job: Automatic Backup of single cPanel account Thank you. 0 -
Thank you very much Michael, the suggested solution above doesn't seem to work in my case :( i am getting "cpapi1: command not found" (CentOs 6.9 shared hosting) 0 -
i am getting "cpapi1: command not found" (CentOs 6.9 shared hosting)
We introduced this functionality in cPanel & WHM version 56. Could you verify the system you are testing this on is using that version of cPanel or newer? If not, you may want to reach out to your web hosting provider to inquire about updating cPanel to a newer version. Thank you.0 -
Thank you Michael, at this point im unable to pull up CPanel version from a shared environment, i tried to run cat /usr/local/cpanel/version & usr/local/cpanel/cpanel -V through ssh but im getting "No such file or directory" i don't have access to the whm portion where i used to see it listed at the top before, i will check with godaddy why im unable to perform this atm, TIA Chris 0
Please sign in to leave a comment.
Comments
4 comments