Bacula-users

Re: [Bacula-users] Bacula script help - passing variable...

2010-04-19 10:20:12
Subject: Re: [Bacula-users] Bacula script help - passing variable...
From: John Drescher <drescherjm AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 19 Apr 2010 10:16:44 -0400
On Mon, Apr 19, 2010 at 8:20 AM, tqz <bacula-forum AT backupcentral DOT com> 
wrote:
>
> Hello all! :)
>
> I'm trying to write a bash script for bacula and need a bit of help!
>
> My first file contains a script that gets the volume name of a tape and then 
> runs the bconsole program that has a list of commands in a second file 
> inputted to it i.e. ./bconsole -c ./bconsole.conf <baculaCommandList.
>
> How do I pass my tape name to that command list and how do I ref the tape 
> name in that second file too???
>

I would have the script that generated the command list insert the tape name.

John

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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>