On 19.06.2017 at 20:50 wrote Umar Draz:
> Hi,
> 
> What is the proper way to remove client including database and all backup 
> data for that client.

You can delete the jobs via the bconsole:

purge jobs client=NAMEOFCLIENT

After this, the client is orphaned.

You can remove orphaned clients via bareos-dbcheck, see
http://doc.bareos.org/master/html/bareos-manual-main-reference.html#bareos-dbcheck

Should you check before, if the correct clients will be deleted:

bareos-dbcheck -v

Select "Check for orphaned Client records"

If you are satisfied, call dbcheck in repair mode:

bareos-dbcheck -v -f

and select "Check for orphaned Client records" again.

After this you can remove the client from the configuration.


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.

Reply via email to