Re: Timeout setting for ClientRunBeforeJob

Rob Gerber <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <CAMKi9mQ2WRJYLqyCM8AX+mkEaD6bh7uis8tD-D6QZY9r49-ePQ@mail.gmail.com>
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]

On Thu, Jun 19, 2025, 11:15 AM Martin Simmons <[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]>
>
> > Sent: Wednesday, June 18, 2025 9:08 PM
> > To: [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.
> >
> >
> >
> > 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]
> >
> > _______________________________________________
> > Bacula-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> >
>
>
> _______________________________________________
> Bacula-users mailing list
> [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.