> -----Mensagem original----- > De: mikee [mailto:[EMAIL PROTECTED] > Enviada em: quarta-feira, 8 de agosto de 2007 09:29 > Para: Marcos de Jesus Faria > Cc: bacula-users@lists.sourceforge.net > Assunto: Re: [Bacula-users] Eject tape automatically > > 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 In my case my device name is LTO-3 so I have to change $device to $LTO-3 ?
> > # eject the tape > mt -f /dev/nst0 rewind This command I knew > mt -f /dev/nst0 eject This command doesn´t works in FreeBSD/Unix, Just in Linux. > ----------------------------- ------------------------------------------------------------------------- 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