Where is cpbackup log?

RandyO

Well-Known Member
Jun 17, 2003
173
0
166
where can I find the log that dictates when monthly, weekly backups are perfomed? I have monthly backups that have not run and I can not seem to find what the issue is yet.

thanks
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
34
473
Go on, have a guess
There isn't a log, which is a pain.

Best bet is to run the backup interactively, but first make sure that if you have a separate backup partition, that it isn't full.
 

RandyO

Well-Known Member
Jun 17, 2003
173
0
166
Well that is odd. So how does the system know to replace the "weekly" and "monthly" copies? If the monthly folder is empty and the system does not replace them, it must not look at the folder for the expiration date on the backup. I just figured there had to be a date file or like somewhere.

I suppose I can manually copy over the monthly copies but that would seem to indicate that they will not be replaced on schedule when they are a month old.
 

PWSowner

Well-Known Member
Nov 10, 2001
2,901
4
343
ON, Canada
It looks at the date of the folder not the files within.

Here's the magic line in the backup script:
Code:
if (! -e "${basedir}/monthly" || isolderthen(29,"${basedir}/monthly")) {
It says if the monthly directory does not exist, or is older than 29 days, then do monthly backup.