Hello Carlo
In Bacula communiy is not possible yet (maybe in Enterprise version only)
Probably in the Schedule you have more than one Level for this job.
You could adapt you script for receive a parameter like "Level" from Job
and in the script select the the Full or Incremental using the value of
parameter passed
Example:
Job {
Name = "Backup_XXX"
...
RunBeforeJob = "/etc/bacula/scripts/backup_database.sh %l" # %l = Job
Level
...
}
Best Regards
*Wanderlei Hüttel*
http://www.huttel.com.br
2017-05-24 5:40 GMT-03:00 Carlo Filippetto <carlo.filippe...@gmail.com>:
> Hi all,
>
> I have Bacula 7.2.0 installed on Fedora 23.
> I need to change the beaviour of a ClientRunBeforeJob based on scheduler,
> this to create differential or full dump of a DB.
> how I can do this?
>
> I would like to make this feature trought bacula and not with a custom
> script.
>
>
>
> Thank you
>
>
> ---
> Carlo
>
> ------------------------------------------------------------
> ------------------
> 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users