Is it possible to change what day the weekly cpbackup occurs? Did a few searches and couldn't find an answer.
Thanks
Is it possible to change what day the weekly cpbackup occurs? Did a few searches and couldn't find an answer.
Thanks
Hi,
Read this post:
http://forums.cpanel.net/showthread.php?t=43683
Regards,
Thats similar but not really the problem, we just want to have the weekly backup happen on Sunday instead of Thursday.
You could just delete the weekly backups before the night you want them to be done. They will be done if there are none, and from that point on, it'll be the same day each week. You will need to delete the weekly directory as well.
We deleted the old backup and the directory Saturday night to see if it would run early sunday morning, it didn't :/
You deleted the actual "weekly" directory as well?
The key line in the backup script is:
If the "weekly" directory does not exist when the backup script is called, it should run the weekly backup, as long as WHM is set to do weekly backups.Code:if (! -e "${basedir}/weekly" || isolderthen(6,"${basedir}/weekly")) {![]()
We deleted weekly directory on the server stores the backups to via FTP, do we also need to delete the weekly directory in /home/cpbackuptmp/cpbackup/ ? I think it puts all the backups here first before FTPing them. That may be why it didn't run because the weekly was still there.
Well we deleted that folder and cpbackup weekly ran this morning, deleting the folder on the FTP server did nothing. Thanks PWS!
You got the right folder. Now all you have to do is restart it this Saturday night.![]()