>>>>> On Wed, 27 May 2009 22:09:36 +0200, Falk Sauer said:
> 
> have anybody a suggestion how to configure a admin job that only does 
> the unmount? This job would i start with a priority after the 
> BackupCatalog.

Yes, something like this:

Job {
  Name = "UnMountTape"
  Type = Admin
  JobDefs = "FileJob"
  FileSet="Catalog"
  Priority = 499
  Schedule = "AdminAlwaysCycle"
  RunBeforeJob = "/usr/local/bin/ensure_storage_unmounted"
}

/usr/local/bin/ensure_storage_unmounted is a script like this:

echo "unmount storage=my-storage-device" | bconsole -c bconsole.conf

__Martin

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to