On Sat, 12 Sep 2020 at 14:16, Josip Deanovic <djosip+n...@linuxpages.net>
wrote:

> On Saturday 2020-09-12 09:27:51 Heitor Faria wrote:
> > Hello Ben,
> >
> > Perhaps you could check the difference between the "list files jobid=xx"
> > and the list of restored files?
>
> Good idea but he already got the number of files when the restore
> job completed:
>
>   Files Expected:         3,858
>   Files Restored:         3,858
>
> So a quick check of the number of restored files might be useful.
> Something like: find /tmp/bacula-restores -print | wc -l
>

Hmmm!

# find . | wc -l
    4422
# find . -type f | wc
    3286    8013  360780
# find . -not -type d | wc
    3286    8013  360780


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.

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".


> Should be executed as root.
>
>
> My guess is that the number will match.
>
> --
> 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

Reply via email to