-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Troy Daniels wrote:
> Hi,
>
> Coming at this issue with fresh eyes I noticed you seem to have replaced
> the 'delete_catalog_backup' script call in your catalog backup job with
> 'end_of_backup.sh'
>
> Unless I'm mistaken, I believe this script is run by the Director, not
> the storage daemon.
>
> By default IIRC, the director runs as user bacula group bacula and
> probably doesn't have permission to access your tape drive.
>
> On top of that, depending on your configuration, the SD probably has
> your tape drive locked/blocked so the script couldn't eject the tape
> anyways.
>
> One alternative that *should* work, is to replace your mt commands in
> the script with calls to bconsole instead.
>
> I think something like:
>
> /usr/sbin/bcnosole -c /etc/bacula/bconsole.conf <<EOF1
> umount <StorageName>
> EOF1
>
> Should work.
>
> You might need to run the umount command under bconsole and take note of
> any extra prompts and place the appropriate answers before the EOF1 in
> the above example.
>
> I probably should also mention this is all from memory so is subject to
> silly mistakes :)
I'm not sure why the original poster is even doing this, in the face of
other options like "OfflineOnUmount" etc., but I haven't really had the
inclination to jump into it.
- --
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II
|$&| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGqB1Zmb+gadEcsb4RAqk0AJ9nu1W8p3s7/Mjh6en3GZQTCGxdRwCgmOIx
u3Mzbyln+jFIt1bVzHivjyI=
=AChW
-----END PGP SIGNATURE-----
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard
-------------------------------------------------------------------------
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