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