heyjohnboy

Well-Known Member
Oct 7, 2003
62
0
156
Valencia, CA
We recently started receiving email notices for /scripts/cpbackup and /scripts/upcp. In the past, it seems that we only received the upcp notice, and that included the backup routines. Now it looks as if the data is being backed up twice...once by cpbackup and once by upcp?

Do we need both routines? And how would we turn one off if we don't? I believe this first started when we upgraded to Stable 15.
 

asmithjr

Well-Known Member
Jun 13, 2003
516
8
168
good question,
I see both now in the root cron.

Also still see cpbackup in the upcp file?

Necessary?
 

PWSowner

Well-Known Member
Nov 10, 2001
2,901
4
343
ON, Canada
It won't back up twice in one day anyway.

This part of the backup script:

Code:
		if (isolderthen(.5,"${basedir}/daily")) {
			backupaccts("${basedir}/daily");
		} else {
			print "Daily Backup is up to date\n";
		}
makes it so backup will only run if it's been more than 12 hours since the last time.
 

asmithjr

Well-Known Member
Jun 13, 2003
516
8
168
yep, just thought is strange since their is a cron entry to run it seperately they left it in the upcp.
 

dxer

Well-Known Member
Sep 9, 2002
308
0
166
Europe
Yesterday I needed to restore one account data and tonight I received message "Daily Backup is up to date". I have backup set to run every second day and now it is more than 48 hours from last daily backup so I don't know why this messages appeared.

Or , restoring of this account started daily backup process ?