And how can I do automatic when I insert the tape?

Cheers.

mikee escribió:
> On Wed, 08 Aug 2007, Marcos de Jesus Faria might have said:
>
>   
>> Hello Srs,
>>
>> I Have bacula+FreeBSD and I want to Eject tape automatically after backup, 
>> how can I do that ?
>>     
>
> Add 'Run After Backup = $script' to the last scheduled backup of the day. In 
> that script there are
> lines like:
>
> -----------------------------
> #!/bin/sh
>
> # $Id$
> # $Log$
>
> # umount the tape from bacula
> echo "umount $device" | bconsole
>
> # eject the tape
> mt -f /dev/nst0 rewind
> mt -f /dev/nst0 eject
> -----------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to