Bacula-users

Re: [Bacula-users] scripting bconsole (Re: vchanger and "intervention needed")

2014-08-19 09:13:00
Subject: Re: [Bacula-users] scripting bconsole (Re: vchanger and "intervention needed")
From: Heitor Faria <heitor AT bacula.com DOT br>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 19 Aug 2014 10:10:45 -0300

> > The way every proper unix utility works is
> >
> > bconsole -c "delete volume=xyz" -y
>
> Bacula will do this for you without any other tools; you just need to amend the delete volume line to include "yes" on the end to suppress the prompt, e.g.
> "delete volume=ABC123 yes"
>
> It doesn't appear to be documented in the manual but does work (I just tested it).

Maybe not in the manual but I think the "help delete" command brings yes as a possible argument.

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>