Hi,

If i understand the manual correctly, i need to write
RunBefore/RunAfter scripts to mount/unmount the tapes
automatically.

I wrote two scripts to mount the tape before backup starts
and to unmount and eject it after backup finishes. Both are
run as RunBefore/RunAfter scripts in the aprop. Jobs. I use

echo "mount CertanceDrive" | /usr/local/sbin/bconsole -c 
/usr/local/etc/bconsole.conf
echo "umount CertanceDrive" | /usr/local/sbin/bconsole -c 
/usr/local/etc/bconsole.conf

to do the job. This allows me to just change tapes without
any console interaction.

The problem is, the FreeBSD Port installs bconsole with
754 (rwxr-xr--) root:wheel and the director fails to execute
it since it runs as user+group bacula. Same problem with
bconsole.conf and (gnome|wx)-console.

Is this a bacula "feature" or something the FreeBSD port
maintainer did? I would think its reasonable to change both
files to be owned by group bacula. I will contact the port
maintainer in case it's his part.

Alternatively, is there another way to achieve above
functionality?

Thanks

-- Attila




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to