Hi, thanks for the reply!

Yes, that would be the "some kind of extra switching script to be installed 
on every client".
I was hoping for a pure server-side solution, which doesn't require 
installing any further scripts on the client.

Bruno Friedmann (bruno-at-bareos) schrieb am Dienstag, 14. Mai 2024 um 
11:59:44 UTC+2:

> Maybe you can use the %l in a major script which decide then action 
> corresponding the the level ?
>
>
> On Tuesday 14 May 2024 at 11:25:01 UTC+2 Leon Bartle wrote:
>
>> Hi there!
>>
>> Is there a way to run different commands with the "Run Script" Command, 
>> depending on the Backup level?
>>
>> For example on a full backup, it should run "/home/script1.sh -n", but on 
>> diff and incr backups, it should run "/home/script2.sh -n -m".
>>
>> I only found  the character substitution "%l", but it does not change the 
>> actual command being run, thus it would require some kind of extra 
>> switching script to be installed on every client, which would make 
>> automation really hard. 
>>
>> Have a wonderful day!
>> Leon
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/c71afffe-5082-446b-b3ac-071858dac51dn%40googlegroups.com.

Reply via email to