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 &
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:
De:
"Ana Emília M. Arruda"
Para: "Steven Hammond"
Cc: "Bacula-users@lists.sourceforge.net"
Enviadas: Segunda-feira, 20 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
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
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
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