Re: [bareos-users] autodelete pool

2020-06-19 Thread 'DUCARROZ Birgit' via bareos-users
Hi Spadajspadaj, Thank you for this. I'll have a look how to do is the best way for me. Regards, Birgit On 17/06/20 09:16, Spadajspadaj wrote: Depends on what you mean by "standard installation" :-) Anyway, I believe the installer itself installs only empty database and the appropriate

Re: [bareos-users] autodelete pool

2020-06-16 Thread Spadajspadaj
There's no point in creating those pools in the first place. Just define a single pool in the config files and the daemon will create only this defined pool. If there's no Scratch pool defined, it will not be created. https://docs.bareos.org/Configuration/Director.html#pool-resource

Re: [bareos-users] autodelete pool

2020-06-16 Thread 'DUCARROZ Birgit' via bareos-users
Hi Spadajspadaj, First of all, thank you for your response. I created a script which completely installs my server. The script is meant to ease an eventual next installation on a new server (migration) and at the same point it is meant to be my documentation. The script installs a bareos

Re: [bareos-users] autodelete pool

2020-06-15 Thread Spadajspadaj
Hi Birgit. To be honest, I fail to see what would be the point of deleting a pool from a script. If you need to delete a pool, you do it once, interactively and everything's good. Of course you can do a delete pool from bconsole but if you don't delete it from the configuration it'll get

[bareos-users] autodelete pool

2020-06-14 Thread 'DUCARROZ Birgit' via bareos-users
Hi all, How can I autodelete a pool (i.ex in a script)? echo delete pool=Scratch yes | bconsole --> does unfortunately not work I can rm /etc/bareos/bareos-dir.d/pool/Scratch.conf, but doing so will keep listing the pool in my storages list (see print-screen). Thank you for any help. Kind