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 r...@craeon.net On Thu, Jun 19, 2025, 11:15 AM Martin Simmons <mar...@lispworks.com> 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 <bacula-users@lists.sourceforge.net> > > > Sent: Wednesday, June 18, 2025 9:08 PM > > To: bacula-users@lists.sourceforge.net > > 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 > > w...@protonmail.com > > > > _______________________________________________ > > 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 >
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users