Removing client including backup

2,619 views
Skip to first unread message

Umar Draz

unread,
Jun 19, 2017, 2:50:14 PM6/19/17
to bareos-users
Hi,

What is the proper way to remove client including database and all backup data for that client.

Regards

Jörg Steffens

unread,
Jul 11, 2017, 8:30:06 AM7/11/17
to bareos...@googlegroups.com
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

Reply all
Reply to author
Forward
0 new messages