Hello Pierre

Yes, it possible.
For run scripts in bacula there are basically 5 options:
RunBeforeJob - Run In server before backup (single line config)
RunAfterJob - Run In server after backup (single line config)
ClientRunBeforeJob - Run In client before backup  (single line config)
ClientRunAfterJob - Run In client after backup  (single line config)
RunScript -  (multiples line config)

You can take a look in the Job Resource in manual and look for "RunScript
{body-of-runscript}" parameter
https://www.bacula.org/9.6.x-manuals/en/main/Configuring_Director.html#SECTION002130000000000000000



Best regards

*Wanderlei Hüttel*



Em qua., 1 de abr. de 2020 às 07:19, Pierre Bernhardt <
pie...@starcumulus.owl.de> escreveu:

> Hello,
>
> is it possible to execute scripts or commands on a client to e.g. create
> snapshots before
> backup them? I did not found a description about this feature.
> I need to execute a script/command before and after a backup has to been
> produced to
> create and remove the lvm snapshot.
>
> Cheers,
> Pierre
>
>
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to