>>>>> On Wed, 22 Mar 2006 16:10:21 +0000 (UTC), abdel <[EMAIL PROTECTED]> said:
> 
> I want to run a backup job from a windows 2000 client, but I don't find the 
> good
> syntax. I have the bconsole program installed, I can manually connect to the
> director, but not by script.
> 
> Under linux we can follow the command below :
> 
> ./bconsole -c ./bconsole.conf <<END_OF_DATA
> unmount storage=DDS-4
> quit
> END_OF_DATA
> 
> But under windows 2000 the "<<END_OF_DATA" is not recognized.
> How can I do?

Botch file language doesn't support the << syntax.  You could try putting the
unmount and quit commands in a separate file called e.g. unmount.txt and using

bconsole -c bconsole.conf < unmount.txt

__Martin


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to