Bacula-users

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

2010-04-19 10:08:43
Subject: [Bacula-users] Bacula script help - passing variable...
From: tqz <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 19 Apr 2010 08:20:44 -0400
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???

Sorry - I am new to shell scripting!

Thanks.

+----------------------------------------------------------------------
|This was sent by tqzelijah AT yahoo.co DOT uk via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
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>