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
joerg.s...@bareos.com
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