On 05.10.2017 at 17:20 wrote Oliver Hoffmann: > Hi list, > > when I do list clients in bconsole the listing is OK. > > When using psql like this: > psql -U postgres bareos -c 'select Name from Client ORDER BY Name ASC;' > > I get another list. There are old clients which I deleted time ago. > > Is there a script of some kind already to keep DB and filesystem in sync so > to say? Same applies to deleted volume files which are still in DB or things > like that.
Normally, .clients: shows the list of configured clients list clients: show all clients know in the catalog (a job did run for this client) list clients current: show all clients from the catalog and still known in the configuration list clients disabled: show all disabled clients You can remove orphaned data in the Bareos catalog using bareos-dbcheck. regards, Jörg -- Jörg Steffens [email protected] Bareos GmbH & Co. KG Phone: +49 221 630693-91 http://www.bareos.com Fax: +49 221 630693-10 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 Komplementär: Bareos Verwaltungs-GmbH Geschäftsführer: S. Dühr, M. Außendorf, Jörg Steffens, P. Storz -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
