Florian Schnabel wrote:
> now for my (hopefully) last problem with bacula :-)
>
> the guy who had this job bevore me (he's not available for questions
> right now ..)
> did set it up so the tape gets ejected after the daily backup .. for
> some reason this doesn't work
> i don't know if it could have worked at all, i just know that some
> time ago when he was still here the tape did eject correctly .. dunno
> if he broke it ...
>
> snipet from bacula-dir.conf
>
> # Backup the catalog database (after the nightly save)
> Job {
> Name = "BackupCatalog"
> Type = "Backup"
> Level = "Full"
> Client = "xxxx-fd"
> FileSet = "Catalog"
> Schedule = "WeeklyCycleAfterBackup"
> Storage = "Tape"
> Messages = "Standard"
> Pool = "Default"
> # This creates an ASCII copy of the catalog
> RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup bacula bacula"
> RunAfterJob = "/etc/bacula/eject_tape"
> Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
> Priority = 11 # run after main backup
> Max Start Delay = 22h
> }
>
> snipet from bacula report
>
> Termination: Backup OK
>
> 30-Aug 01:04 erde-dir: Begin pruning Jobs.
> 30-Aug 01:04 erde-dir: No Jobs found to prune.
> 30-Aug 01:04 erde-dir: Begin pruning Files.
> 30-Aug 01:04 erde-dir: No Files found to prune.
> 30-Aug 01:04 erde-dir: End auto prune.
>
> 30-Aug 01:04 erde-dir: RunAfter: Connecting to Director
> xxx.xxx.xxx.xxx:9101
> 30-Aug 01:04 erde-dir: RunAfter: 1000 OK: xxxx-dir Version: 1.36.3 (22
> April 2005)
> 30-Aug 01:04 erde-dir: RunAfter: Enter a period to cancel a command.
> 30-Aug 01:04 erde-dir: RunAfter: unmount storage=Tape
> 30-Aug 01:04 erde-dir: RunAfter: Using default Catalog name=MyCatalog
> DB=bacula
> 30-Aug 01:04 erde-dir: RunAfter: 3901 Device "/dev/nst0" is already
> unmounted.
> 30-Aug 01:04 erde-dir: RunAfter: You have messages.
> 30-Aug 01:04 erde-dir: RunAfter: /dev/st0: Permission denied
> 30-Aug 01:04 erde-dir: RunAfter: /dev/st0: Permission denied
> 30-Aug 01:04 erde-dir: BackupCatalog.2005-08-29_23.15.00 Warning:
> RunAfterJob error: ERR=Child exited with code 1
>
>
> any clues to that ?
>
> all help appreciated :-)
>
> Florian
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing
> & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
Hello,
Can you show us the content of the file '/etc/bacula/eject_tape', please ?
Loïs Lherbier
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users