Could have sworn bconsole accepts STDIN. Am I wrong?

---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | | Ryan Novosielski - User Support Spec. III
|$&| |__| |  | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630

Sherwood McGowan wrote:

Is there any way we could get the ability to do this?

I'd love to be able to issue a batch command to bconsole, something similar
to
bconsole --batch 'status ; 1'

Which would tell bconsole to run the command "status" and then "1" (gets the
status of the director) and then exit, outputting the information to the
screen (so I can have scripts parse it). Another example:

Bconsole --batch 'run ; 8 ; yes'

Which would tell bconsole to issue "run" and "8" (job #8) and then "yes" to
start the backup. This would be great so I can have some simple scripts that
force a backup to run, without having to have user interaction...

Any thoughts?

Thank you,
Sherwood




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to