Bacula-users

Re: [Bacula-users] Verify Job: Warning: The following files are in the Catalog but not on the Volume(s):

2009-11-13 03:09:02
Subject: Re: [Bacula-users] Verify Job: Warning: The following files are in the Catalog but not on the Volume(s):
From: Ralf Gross <Ralf-Lists AT ralfgross DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 13 Nov 2009 09:03:54 +0100
Martin Simmons schrieb:
> >>>>> On Wed, 11 Nov 2009 14:56:33 +0100, Ralf Gross said:
> > 
> > Martin Simmons schrieb:
> > > >>>>> On Tue, 10 Nov 2009 10:54:26 +0100, Ralf Gross said:
> > > > 
> > > > Martin Simmons schrieb:
> > > > > >>>>> On Tue, 3 Nov 2009 09:51:17 +0100, Ralf Gross said:
> > > > > > 
> > > > > > bacula 3.0.2, psql, debian etch
> > > > > > 
> > > > > > Every now and then I receive error mails about missing files from 
> > > > > > verify jobs
> > > > > > where I can't find the problem.
> > > > > 
> > > > > Does it report all files as missing in that case or is it some subset?
> > > > 
> > > > Not all.
> > > > 
> > > >  
> > > > > What does the end of the email look like, i.e. the job report from 
> > > > > "Build OS:"
> > > > > to "Termination:"?
> > > > 
> > > > 
> > > > This verify job complained only about missing files in /usr.
> > > 
> > > Ah, this is a good clue.  What is the fileset definition?  Maybe it 
> > > includes
> > > the /usr directory twice?
> > 
> > 
> > The fileset looks ok to me.
> > 
> > FileSet {
> >   Name = Client
> >   Ignore FileSet Changes = yes
> >   Include {
> >     Options {
> >       aclsupport = yes
> >       signature = MD5
> >     }
> >     File = /
> >     File = /var
> >     File = /boot
> >   }
> >   Exclude {
> >     File = /media/*
> >     File = /lost+found/*
> >     File = /mnt/*
> >     File = /dev/*
> >     File = /sys/*
> >     File = /proc/*
> >     File = /tmp/*
> >     File = /.journal
> >     File = /.fsck
> >   }
> > }
> 
> Yes, that looks OK, except for the use of "*" in the Exclude clause.  The
> "File =" lines cannot contain wildcards.


I know that this shouldn't work, but it does ;)  Really!

bconsole -> restore:

$ cd ../tmp
cwd is: /tmp/
$ ls

$ cd ../mnt
cwd is: /mnt/
$ ls

But you are right, it would be better to use the correct syntax with wilddir.


 
> In your previous message, I see that Bacula reported:
> 
>   Files Expected:         50,755
>   Files Examined:         50,755
> 
> Does the backup contain exactly 50,755 files or has it miscounted them?


The numbers are correct, the same number of files werde backed up.

FD Files Written:       50,755
SD Files Written:       50,755


 
> Are you accidentally running two verify jobs at the same time?


Of the same client? Nooooo....

Errr.....yes

bacula.log.2.gz:31-Okt 10:05 VUMEM004-dir JobId 16737: Verifying against 
JobId=16728 Job=VU0EI001.2009-10-31_03.05.00_14
bacula.log.2.gz:31-Okt 10:05 VUMEM004-dir JobId 16736: Verifying against 
JobId=16728 Job=VU0EI001.2009-10-31_03.05.00_14

The schedule is a bit redundant....

Schedule {
  Name = "Verify ITD"
  Run = Storage=Neo4100-LTO4-D3_P-Net 2nd sat at 10:05
  Run = Storage=ITD-DISK 1st,3rd,5th sat at 10:05
  Run = Storage=ITD-DISK 3rd-5th sat at 10:05
  Run = Storage=ITD-DISK mon-fri at 10:05
}


better...

Schedule {
  Name = "Verify ITD"
  Run = Storage=Neo4100-LTO4-D3_P-Net 2nd sat at 10:05
  Run = Storage=ITD-DISK 1st, 3rd-5th sat at 10:05
  Run = Storage=ITD-DISK mon-fri at 10:05
}

Thanks for the hint!

Ralf


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users