Re: [Bacula-users] Change ClientRunBeforeJob script based on scheduler
2017-05-26 15:33:14
Hello, Wanderlei,
You are right. But I still think having a e.g. "ClientRunBeforeJobDiff", is a benefical new feature, since you might need to use different pre-backup binaries or scripts. Sometimes is not that practical to change them. Maybe we can take a look on the code and propose a patch.
I suggest that given Bacula can already pass the data to whatever script you use, do this in your scripting language of choice. Then invoke what whatever binary you wish.
Just because we can expand the code does not mean we should. A simple shell script, for example, accomplishes this.
|
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
ADSM.ORG Privacy and Data Security by https://kimlaw.us
|