Bacula-users

[Bacula-users] Migrate RunBeforeJob RunAfterJob

2008-10-19 14:52:54
Subject: [Bacula-users] Migrate RunBeforeJob RunAfterJob
From: Ulrich Leodolter <ulrich.leodolter AT obvsg DOT at>
To: bacula-users AT lists.sourceforge DOT net
Date: Sun, 19 Oct 2008 18:50:03 +0000
Hello,

I've setup a migration job and like to run scripts
before and after the controlling migration job.

RunBeforeJob and RunAfterJob are called for each migration job
when using the job definition below.

Is it possible to limit RunScript directives only to the
controlling migration Job ?

I tried this on bacula 2.4.3.


Job {
  Name = "MigrateDiskToTape"
  Type = Migrate
  Level = Full
  Client = server-fd
  FileSet="Full Set"
  Messages = Standard
  Pool = DiskBackup
  Storage = File
  SpoolData = yes
  Maximum Concurrent Jobs = 1
  Selection Type = PoolTime
  Priority = 12
  RunBeforeJob = "/etc/bacula/run_before_migration"
  RunAfterJob = "/etc/bacula/run_after_migration"
}

Thanks
Ulrich


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>