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 bareos-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/1513667f-934d-427a-b7e9-f2c3ad149f6bn%40googlegroups.com.