hi, Following the instructions in http://bacula.org/rel-manual/Backup_Strategies.html#SECTION000283300000000000000
I have a little problem. The script /etc/bacula/end_of_backup.sh when run manually works fine, when run at the end of the job I get this message: 17-Dec 20:26 tux-dir: RunAfter: + echo root 17-Dec 20:26 tux-dir: RunAfter: root 17-Dec 20:26 tux-dir: RunAfter: + /etc/bacula/delete_catalog_backup 17-Dec 20:26 tux-dir: RunAfter: + mt rewind 17-Dec 20:26 tux-dir: RunAfter: mt: /dev/tape: Permission denied 17-Dec 20:26 tux-dir: RunAfter: + mt eject 17-Dec 20:26 tux-dir: RunAfter: mt: /dev/tape: Permission denied 17-Dec 20:26 tux-dir: RunAfter: + exit 0 So obviously the tape is not ejected and I need to eject it manually. ls -l /etc/bacula/end_of_backup.sh -rwsr-sr-- 1 root bacula 97 Dec 17 20:16 /etc/bacula/end_of_backup.sh I have even (OMG) tried setting the suid bit on the script to no avail. In fact, I have a echo statement at the beginnig of the script that confirms that it runs as root (echo $USER), so I am not sure what the problem is. This is bacula 1.38.2 and for the rest it's great! I sure would like to have this daily tape rotation because at our company we already have this rotation and one of the workers is used to this, so i'd rather not change it. -- Groeten, J.I.Asenjo ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users