Bacula-users

Re: [Bacula-users] Migrate RunBeforeJob RunAfterJob

2008-10-20 04:55:55
Subject: Re: [Bacula-users] Migrate RunBeforeJob RunAfterJob
From: Sebastian Lehmann <slehmann AT proficom-ag DOT de>
To: Ulrich Leodolter <ulrich.leodolter AT obvsg DOT at>
Date: Mon, 20 Oct 2008 10:46:39 +0200 (CEST)
Hi,

Am So 19.10.2008 20:50 schrieb Ulrich Leodolter
<ulrich.leodolter AT obvsg DOT at>:

> 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 ?
> 
No, it's not possible.


> 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
> 
> 

> 
Sebastian Lehmann


-------------------------------------------------------------------------
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>