Bacula-users

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

2014-08-18 19:46:36
Subject: Re: [Bacula-users] scripting bconsole (Re: vchanger and "intervention needed")
From: Dimitri Maziuk <dmaziuk AT bmrb.wisc DOT edu>
To: jrlang AT uwyo DOT edu, Josh Fisher <jfisher AT pvct DOT com>
Date: Mon, 18 Aug 2014 18:44:20 -0500
On 08/18/2014 05:55 PM, Jeffrey Lang wrote:
> Dimitri
> 
>   You could use the expect command to script a reply to request as in:

I could also use python's subprocess.Popen or execvp(3) and dup(2) in c.
The way every proper unix utility works is

bconsole -c "delete volume=xyz" -y

-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users