On 1/30/23 11:43, Adam Weremczuk wrote:
Hi all,
Is it possible to tell a client to stop a list of services in a specific
order before starting a backup job? Then start them up after backup run
is complete.
Bacula server runs on Debian 11 and the client on Windows Server 2019
Standard.
You could use client-side RunBefore Job and RunAfterJob scripts. (i.e,
"RunsOnClient = yes" in the RunBeforeJob/RunAfterJob directive)
Obviously this would need careful testing, and you face the issue that
if a job fails for any reason, then those services may not get
restarted. If they are mission-critical, this would likely be a problem
and you would need to implement a failsafe mechanism for restarting them
after the backup if not running (a cron job perhaps).
--
Phil Stracchino
Babylon Communications
ph...@caerllewys.net
p...@co.ordinate.org
Landline: +1.603.293.8485
Mobile: +1.603.998.6958
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users