BackupPC-users

Re: [BackupPC-users] Remove hosts from status

2009-08-11 14:34:58
Subject: Re: [BackupPC-users] Remove hosts from status
From: Chris Robertson <crobertson AT gci DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 11 Aug 2009 10:30:55 -0800
Adam Goryachev wrote:
> I've removed a hosts from backuppc (hosts file, removed the config file,
> done a rm -rf /var/lib/backuppc/pc/hostname and the host no longer shows
> up in the web interface in the dropdown, host summary page, etc.
>
> However, I still get information on the host from this command:
> /usr/share/backuppc/bin/BackupPC_serverMesg status hosts
> I've slightly modified the output to make it more readable, but this is
> what it shows about the host I want to get rid of:
> "somehost" =>
>       {"lastGoodBackupTime" => "1242909317",
>       "deadCnt" => 2,
>       "reason" => "Reason_nothing_to_do",
>       "activeJob" => 0,
>       "state" => "Status_idle",
>       "aliveCnt" => 79,
>       "endTime" => "",
>       "error" => "host not found",
>       "needLink" => 0,
>       "type" => "incr",
>       "startTime" => "1249656051",
>       "userReq" => undef},
>
> Could anyone suggest what else I need to do to stop the host showing up
> in the output here?
>   

Have you tried stopping and re-starting the BackupPC server process?  
I'd imagine it has a client hash memory mapped.

> Thanks,
> Adam

Chris


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>