
Removing a machine from the list of failures requiring atten
On Mar 16, 2004, at 2:08 AM, Craig Barratt wrote:
Steve Waltner writes:
But what about the cases where the machine no longer exists? I put
this
entry as well as limit the notification period on these old systems,
but they are still reported on the status web page, which I would like
to clear up. I keep these retired systems in BackupPC for 3-4 months
so
that the user is able to recover any files that somehow didn't get
copied to their new system.
I have not tested this, but how about this:
- put $Conf{FullPeriod} = -1; (or -2) in the respective hosts
config.pl,
- remove the host(s) from the conf/hosts file,
- tell BackupPC to reload (kill -HUP pid or /etc/init.d/backuppc
reload),
- add the host(s) back to the conf/hosts file,
- tell BackupPC to reload (kill -HUP pid or /etc/init.d/backuppc
reload).
In any case, this will be fixed in 2.1.x. After 2 days, any machine
with disabled backups (ie: $Conf{FullPeriod} < 0) that has an error
on the last backup will have the error cleared and the status will
be set back to idle. That way you have time to see errors on manual
backups, but they will eventually go away.
Craig
Thanks for the suggestion Craig. Doing this temporary host removal
cleared the error message on the Server Status web page. The exact
config file that I use on these disabled hosts is:
$Conf{FullPeriod} = -1;
$Conf{EMailNotifyMinDays} = 365;
This keeps the system from attempting to backup the system (and
generating new errors on the web page) as well as not sending the user
warning messages about their old computer not getting backed up.
The new feature in 2.1 sounds great. I'll make the assumption that the
2 day window is configurable in config.pl since I would probably want
to set that to something like 7-14 days.
Thanks again for your effort on BackupPC. I have had this implemented
for a while and within the last month have saved the bacon for 3 users
who had laptop drives die. Having automated backups run on these
systems whenever they happen to be connected to the network has been
very nice. I recently needed to upgrade my pool from 150 GB to 500 GB
and keep getting more users connected to the system.
Steve
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/