Hi Bill,

Thanks for the info, that was indeed very useful.

I used the bregex utility on my fileset, and found that my specification of the 
RegexFile pattern was wrong, hence the job was excluding some files.

Thanks once again.

-Yateen


-----Original Message-----
From: Bill Arlofski via Bacula-users <bacula-users@lists.sourceforge.net>
Sent: Sunday, November 21, 2021 3:34 AM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Detailed list/info about files excluded from the 
job run

On 11/20/21 10:06, Shaligram Bhagat, Yateen (Nokia - IN/Bangalore) wrote:
> Hello all,
>
> We are using Bacula 9.4.4 on Centos.
>
> Is there a way to run Bacula backup job with debug option to get a 
> detailed list/info about files excluded from the actual job run instance?
>
> Our fileset has a list of exclude files (through regexFile).
>
> But surprisingly few files are getting excluded from the backup 
> although their names DO NOT match with the exclude regex specification.
>
> Thanks
>
> Yateen Bhagat
>

Hello Yateen,

There is a utility called `bregex` that you can use to test your regexes 
against a list of files.

This way you don't have to run an actual backup and then list the files in it 
to see if your regexes are correct.

If you just want to have your job list the files as it backs them up, edit your 
Messages{} resource (the default one is
'Standard') and add the 'saved' option to the "Append = " and/or "Console =" 
lines.

Keep in mind that this can slow backups down a bit since all files will now be 
logged to a file, or to the console buffer (or
both) as they are backed up.


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

Reply via email to