Re: Timeout setting for ClientRunBeforeJob

"Yateen Shaligram Bhagat \(Nokia\) via Bacula-users" <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <VI1PR07MB9407F8235D1581951B4CB9F3DB7CA@VI1PR07MB9407.eurprd07.prod.outlook.com>
Hi Rob,  Martin,

Well  I too thought of this solution, namely, loosely synchronizing the job schedule time and a cron job on the client; as a workaround.

Thanks anyways,

Regards,
Yateen

From: Rob Gerber <[email protected]>
Sent: Thursday, June 19, 2025 11:36 PM
To: Martin Simmons <[email protected]>
Cc: Yateen Shaligram Bhagat (Nokia) <[email protected]>; bacula-users <[email protected]>
Subject: Re: [Bacula-users] Timeout setting for ClientRunBeforeJob


CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext for additional information.


You might also want to have the job delete the results file in a "ClientRunAfterJob" script, to prevent any case where the cron job breaks and the Bacula job just backs up the old list over and over again.

Robert Gerber
402-237-8692
[email protected]<mailto:[email protected]>

On Thu, Jun 19, 2025, 11:15 AM Martin Simmons <[email protected]<mailto:[email protected]>> wrote:
If you know what time the backup will run, you could try running the script
some hours earlier using a cron job and then back up the results.

__Martin


>>>>> On Thu, 19 Jun 2025 04:07:30 +0000, Yateen Shaligram Bhagat \(Nokia\) via Bacula-users said:
>
> Hi Bill,
>
> The script takes a "smart" backup of git repos of many users, by creating git diffs for them.
> Some of them may have huge non git local data in their work env.
>
> Anyway, your suggestion for a split backup is a good one.
>
> -Yateen
>
> -----Original Message-----
> From: Bill Arlofski via Bacula-users <[email protected]<mailto:[email protected]>>
> Sent: Wednesday, June 18, 2025 9:08 PM
> To: [email protected]<mailto:[email protected]>
> Subject: Re: [Bacula-users] Timeout setting for ClientRunBeforeJob
>
>
> CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext<http://nok.it/ext> for additional information.
>
>
>
> On 6/18/25 9:06 AM, Yateen Shaligram Bhagat (Nokia) wrote:
>  >
> > Thank you Bill for the quick reply....
> > Much appreciated !
>
> You are welcome...
>
>
> You didn't mention what your script is doing, but if it is doing something like I said and taking too long on a large directory tree, the best fix is to split this directory tree up into multiple Fileset/Jobs which backup different parts of the directory tree and run them concurrently.
>
>
> Best regards,
> Bill
>
> --
> Bill Arlofski
> [email protected]<mailto:[email protected]>
>
> _______________________________________________
> Bacula-users mailing list
> [email protected]<mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


_______________________________________________
Bacula-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/bacula-users

_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.