Re: [Bacula-users] Help with Tape Eject

2014-11-06 Thread Ana Emília M . Arruda
gt; > RunScript { > RunsWhen = After > RunsOnClient = Yes > Command = "/usr/local/bin/bacula-eject.sh" > } > > #!/bin/bash > # /usr/local/bin/my-eject.sh on the SD machine > mt -f /dev/st0 eject >/var/log/bacula/eject.log 2>&1 < /dev/null &

Re: [Bacula-users] Help with Tape Eject

2014-11-06 Thread Steven Hammond
eject >/var/log/bacula/eject.log 2>&1 < /dev/null & # eof *De: *"Ana Emília M. Arruda" *Para: *"Steven Hammond" *Cc: *"Bacula-users@lists.sourceforge.net" *Enviadas: *Segunda-feira, 20 de outubro de 2014 20:11:01 *Assunto:

Re: [Bacula-users] Help with Tape Eject

2014-10-21 Thread Josh Fisher
De: "Ana Emília M. Arruda" Para: "Steven Hammond" Cc: "Bacula-users@lists.sourceforge.net" Enviadas: Segunda-feira, 20 de

Re: [Bacula-users] Help with Tape Eject

2014-10-21 Thread Josh Fisher
"Ana Emília M. Arruda" Para: "Steven Hammond" Cc: "Bacula-users@lists.sourceforge.net" Enviadas: Segunda-feira, 20 de outubro de 2014 20:11:01 Assunto: Re: [Bacula-users] Help with Tape Eject

Re: [Bacula-users] Help with Tape Eject

2014-10-20 Thread heitor
orge.net" Enviadas: Segunda-feira, 20 de outubro de 2014 20:11:01 Assunto: Re: [Bacula-users] Help with Tape Eject Hi Steven, Maybe this could help you: RunAfterJob = "ssh user@yourstoragedaemonhost mt -f /dev/st0 eject" It´s defined on the last backup job. Regards, Ana

Re: [Bacula-users] Help with Tape Eject

2014-10-20 Thread Ana Emília M . Arruda
Hi Steven, Maybe this could help you: RunAfterJob = "ssh user@yourstoragedaemonhost mt -f /dev/st0 eject" It´s defined on the last backup job. Regards, Ana On Mon, Oct 20, 2014 at 2:58 PM, Steven Hammond wrote: > I had a script that ran after the last job that would release, rewind, > and ej

[Bacula-users] Help with Tape Eject

2014-10-20 Thread Steven Hammond
I had a script that ran after the last job that would release, rewind, and eject the tape. It worked great. However, I've rebuilt the server and now have the STORAGE DAEMON and DIRECTOR on two separate servers. Any ideas how can now eject the tape on the storage server after the last job run