On Sun, 13 Sep 2020 at 13:20, Josip Deanovic <djosip+n...@linuxpages.net> wrote:
> On Saturday 2020-09-12 18:08:41 Ben Laurie wrote: > > Hmmm! > > > > # find . | wc -l > > 4422 > > # find . -type f | wc > > 3286 8013 360780 > > # find . -not -type d | wc > > 3286 8013 360780 > > Interesting. > > Do you get the output you would expect when you avoid piping it to > the wc command? > Yeah. I started doing a comparison line by line to the Bacula listing. I didn't finish, it got quite boring - might have to write some code! But all I found was: 1. Bacula not listing some directories, but only if it did list something in a subdirectory. 2. I found one file that Bacula listed but wasn't restored - I can't remember what it was called but the name suggested it was a lock file, which is why I thought it might be a deleted file. > > On closer inspection there are complications... > > > > 1. Bacula doesn't seem to have entries for all directories, even if it > > has stored files in them. But it does have some. > > Not sure if IgnoreCase option could caused it somehow. According to the documentation it just makes it ignore case for pattern matching, so seems unlikely? > > > 2. Presumably, since this is an incremental dump, it will include files > > that have been deleted, but seems you can't tell from "list files > > jobid=xxx". > > There is an "Accurate" option that can be used in Job resource. > > In short, it says: "In accurate mode, the File daemon knowns exactly which > files were present after the last backup. So it is able to handle deleted > or renamed files." > > This option requires a bit more memory on the client side but I would say > it is worth it. > Yes, funny I somehow had not noticed that before - I've added it. I presume it won't fix this problem, tho. > > > -- > Josip Deanovic > > > _______________________________________________ > 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