Hello,

thanks.

Do you know any way to query the database to get the same output as
bconsole "status client"?

regards,
Steffen

On 06/01/2018 11:26 AM, Kern Sibbald wrote:
> Hello,
>
> status client and select clients from the catalog are two totally
> different commands.  Their outputs are different and the way they work
> are totaldifferent.  So trying to compare them is not useful.
>
> status client shows you clients to which the Director can connect at
> that moment as defined in the bacula-dir.conf file.
>
> Looking at client records in the catalog with show you all non-deleted
> clients that have ever been referenced during the whole life of your
> Bacula installation.
>
> Best regards,
> Kern
>
> On 05/28/2018 04:59 PM, Steffen Schwebel wrote:
>> Hello,
>>
>> Ive been working with Bacula and see a discrepany I cant explain:
>>
>> mysql bacula -e "select * from Client" -ss | wc -l
>> 336
>>
>> echo "status client" | bconsole | wc -l
>> 241
>>
>> I tried to use the dbcheck to correct this mismatch.
>> But that is showing me 16 orhpaned clients. It should close to a
>> hundred.
>>
>> What am I missing?
>>
>>
>> Best regards,
>> Steffen Schwebel
>>
>>
>> ------------------------------------------------------------------------------
>>
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to