Hi,

I'm seeing the same problem using a very similar script. Also using Debian Sarge 3.1 with the latest version of Bacula. I think this is more to do with Bacula not having finished with the tape drive when the script runs.

If anyone knows how this goes let me know.

Thanks,
Gavin

--
UKS Ltd, Birmingham Road, Studley, Warwickshire, B80 7BG
Tel: 08700 681 333  -  Fax: 01527 851 301  -  AS: 20547
[EMAIL PROTECTED]  -  www.uksolutions.co.uk



david robert wrote:

Hi,
I am using the following script for end of backup to run and my backup is working but my tape will not eject after end of backup.I am using debian 3.1 with bacula #!/bin/sh
/usr/bin/bconsole -c /etc/bacula/bconsole.conf <<END_OF_DATA
unmount storage=DLT
END_OF_DATA
# the following is a shell command
/etc/bacula/scripts/delete_catalog_backup
### export TAPE=nst0
export TAPE=/dev/nst0
mt rewind
mt eject
exit 0
I am getting the following error *10-Mar 02:32 bacula1-dir: RunAfter: mt: /dev/nst0: Permission denied
10-Mar 02:32 bacula-dir: RunAfter: mt: /dev/nst0: Permission denied*
nst0 permissions as follows crw-rw---- 1 root tape 9, 128 2005-02-26 06:38 nst0 Can some one help me where i am doing wrong thanks

------------------------------------------------------------------------
Yahoo! Messenger <http://us.rd.yahoo.com/mail/uk/taglines/default/messenger/*http://uk.messenger.yahoo.com%20> NEW - crystal clear PC to PC calling worldwide with voicemail <http://us.rd.yahoo.com/mail/uk/taglines/default/messenger/*http://uk.messenger.yahoo.com%20>






-------------------------------------------------------
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