Dictating weekly cpbackup day?

PWSowner

Well-Known Member
Nov 10, 2001
2,948
4
343
ON, Canada
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.
 

PWSowner

Well-Known Member
Nov 10, 2001
2,948
4
343
ON, Canada
You deleted the actual "weekly" directory as well?

The key line in the backup script is:
Code:
if (! -e "${basedir}/weekly" || isolderthen(6,"${basedir}/weekly")) {
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. ;)
 

Man0warr

Well-Known Member
Jun 5, 2006
59
0
156
Dallas, TX
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.