On 15.01.2018 at 17:05 wrote Douglas K. Rand:
> On 01/15/18 03:51, [email protected] wrote:
>> When I delete a bareos client, I use the command "bareos-dbcheck -b -D
>> mysql -f" The option "-b" makes it possible to use the command in batch
>> mode thus in non-interactive mode.
>>
>> However this command with the option "-b" ask me if I want to create a
>> temporary index. [...] Then I must enter "yes" manually. So the
>> command is
>> not in batch mode.
>>
>> Sometimes the command asks several times to enter "yes" in order to
>> create
>> several different temporary indexes. This variation depends on analyze of
>> command "bareos-dbcheck".
>>
>> Is it possible to use the command  ("bareos-dbcheck -b -D mysql -f") in
>> batch mode with "yes" as the default value?
> Ya, that is annoying isn't it?   I "solved" the problem with this:
> 
> yes yes | /usr/local/sbin/bareos-dbcheck -f -b

Are you sure this is required even with bareos-17.2 and postgres backend?



-- 
 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