Hello Philipp,
thank you for the tip. I was able to remove some of the unused clients with
bareos-dbcheck.
However, there are still some clients. I'll paste the output of bconsole.
I don't understand why bareos still sees these clients.
Greetings,
Peter
************************************
*restore
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
First you select one or more JobIds that contain files
to be restored. You will be presented several methods
of specifying the JobIds. Then you will be allowed to
select which files from those JobIds are to be restored.
To select the JobIds, you have the following choices:
1: List last 20 Jobs run
...
13: Cancel
Select item: (1-13): 5
Defined Clients:
1: x1
2: x2
3: x3
4: B
5: C
6: x4
7: A
Select the Client (1-7): 2
Automatically selected FileSet: x2
No Full backup before 2015-03-20 20:00:03 found.
************************************
*show clients
Client {
Name = "A"
Address = "x"
Password =
Catalog = "MyCatalog"
AutoPrune = yes
}
Client {
Name = "B"
Address = "y"
Password =
Catalog = "MyCatalog"
AutoPrune = yes
}
Client {
Name = "C"
Address = "y"
Password =
Catalog = "MyCatalog"
}
************************************
2015-03-20 9:53 GMT+01:00 Philipp Storz <[email protected]>:
> Hello,
>
> you can use bareos-dbcheck for that.
>
> Please refer to the docs:
>
>
> http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-370000C.5.2
>
> The option you need is:
>
> 12) Eliminate orphaned Client records
>
>
> Best regards,
>
> Philipp
>
>
> Am 19.03.2015 um 21:53 schrieb [email protected]:
> > Hello,
> >
> > during my tests to set up bareos, I created some test clients.
> >
> > Now I have deleted them from the config files and also the volumes they
> used.
> > To delete the volumes, I used bconsole with delete and then an rm on the
> volume file.
> >
> > However, when I start "restore" in bconsole, there is still a list
> includind these old clients.
> >
> > Is there a way to get rid of them? I would prefer a way directly
> supported by bareos, but if it requires deleting something in postgres, it
> would also be helpful.
> >
> > Thank you!
> >
>
>
> --
> Mit freundlichen Grüßen
>
> Philipp Storz [email protected]
> Bareos GmbH & Co. KG Phone: Phone: +49221630693-92
> http://www.bareos.com Fax: +49221630693-10
>
> Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
> Geschäftsführer: Stephan Dühr, M. Außendorf,
> J. Steffens, P. Storz, M. v. Wieringen
>
> --
> 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.
>
--
----------------------
Peter Bungert
Heinrich-Schwegler-Str. 3/1
69214 Eppelheim
Tel: +49-6221-7297666
Mobil: +49-176-50749175
pbungert @ web.de
----------------------
--
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.