On 01/15/18 03:51, garbag...@gmail.com 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

--
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 bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to