Bacula-users

Re: [Bacula-users] severity of warnings issued by Bacula

2011-05-05 03:29:39
Subject: Re: [Bacula-users] severity of warnings issued by Bacula
From: Jeremy Maes <jma AT schaubroeck DOT be>
To: Gavin McCullagh <gavin.mccullagh AT gcd DOT ie>
Date: Thu, 05 May 2011 09:27:03 +0200
Op 4/05/2011 18:07, Gavin McCullagh schreef:
> Hi,
>
> like many people I imagine, we get various warnings from the Bacula
> daemons, particularly the file daemons.  There are some which seem like
> it would be nice to simply suppress them and some which are severe and I'd
> actually like more attention drawn to them.
>
> To give an example, on a director's laptop, every backup comes with a slew
> of:
>
> 04-May 15:50 yyyyyy-fd JobId 14235:      c:/Users/Default/SendTo is a 
> junction point or a different filesystem. Will not descend from c:/ into it.
> 04-May 15:50 yyyyyy-fd JobId 14235:      c:/Users/Default/Start Menu is a 
> junction point or a different filesystem. Will not descend from c:/ into it.
> 04-May 15:50 yyyyyy-fd JobId 14235:      c:/Users/Default/Templates is a 
> junction point or a different filesystem. Will not descend from c:/ into it.
> 04-May 15:50 yyyyyy-fd JobId 14235:      c:/Users/Default User is a junction 
> point or a different filesystem. Will not descend from c:/ into it.
>
> There are no fewer than 163 of these messages, which makes the resulting 
> backup
> email very hard to read.  These warnings are totally benign and happen on 
> every
> single backup.  It would be great to have a way to suppress them so.
This is just the standard Bacula way of telling you "Hey, I encountered 
a junction point! But because I'm smart I didn't back up the files again."
All you need to do to suppress those messages is add all the junction 
points on the given windows system to the exclude list of your filesystem.
Bacula will then no longer mention skipping them as you explicitly told 
it to do so.

My fileset for Windows 2008R2 (mind you that it's a Dutch Windows 
version so some JP's have entries in English and Dutch, some don't. Yay 
for that microsoft ...):

FileSet {
   Name = "Full Windows 2008R2 Set"
   Enable VSS = yes
   Include {
     Options {
       exclude = yes
       Ignore Case = yes
       Wilddir="[A-Z]:/Users/*/Application Data"
       Wilddir="[A-Z]:/Users/*/Cookies"
       Wilddir="[A-Z]:/Users/*/Local Settings"
       Wilddir="[A-Z]:/Users/*/Mijn Documenten"
       Wilddir="[A-Z]:/Users/*/NetHood"
       Wilddir="[A-Z]:/Users/*/Netwerkprinteromgeving"
       Wilddir="[A-Z]:/Users/*/PrintHood"
       Wilddir="[A-Z]:/Users/*/Recent"
       Wilddir="[A-Z]:/Users/*/SendTo"
       Wilddir="[A-Z]:/Users/*/Menu Start"
       Wilddir="[A-Z]:/Users/*/Templates"
       Wilddir="[A-Z]:/Users/*/Sjablonen"
       Wilddir="[A-Z]:/Users/*/AppData/Local/Application Data"
       Wilddir="[A-Z]:/Users/*/AppData/Local/Geschiedenis"
       Wilddir="[A-Z]:/Users/*/AppData/Local/Temporary Internet Files"
       Wilddir="[A-Z]:/Users/*/AppData/Roaming/Microsoft/Windows/Start 
Menu/Programma's"
       Wilddir="[A-Z]:/Users/*/Documents/Mijn Muziek"
       Wilddir="[A-Z]:/Users/*/Documents/My Music"
       Wilddir="[A-Z]:/Users/*/Documents/Mijn Afbeeldingen"
       Wilddir="[A-Z]:/Users/*/Documents/My Pictures"
       Wilddir="[A-Z]:/Users/*/Documents/Mijn Video's"
       Wilddir="[A-Z]:/Users/*/Documents/My Videos"
       Wilddir="[A-Z]:/Users/All Users"
       Wilddir="[A-Z]:/Users/Default"
       Wilddir="[A-Z]:/Users/Default User"

       Wilddir="[A-Z]:/Documents and Settings"

       Wilddir="[A-Z]:/Program Files/Windows NT/Bureau-accessoires"

       Wilddir="[A-Z]:/ProgramData/Application Data"
       Wilddir="[A-Z]:/ProgramData/Bureaublad"
       Wilddir="[A-Z]:/ProgramData/Desktop"
       Wilddir="[A-Z]:/ProgramData/Documenten"
       Wilddir="[A-Z]:/ProgramData/Documents"
       Wilddir="[A-Z]:/ProgramData/Favorieten"
       Wilddir="[A-Z]:/ProgramData/Favorites"
       Wilddir="[A-Z]:/ProgramData/Menu Start"
       Wilddir="[A-Z]:/ProgramData/Start Menu"
       Wilddir="[A-Z]:/ProgramData/Sjablonen"
       Wilddir="[A-Z]:/ProgramData/Templates"
       Wilddir="[A-Z]:/ProgramData/Microsoft/Windows/Start Menu/Programma's"

       Wilddir="[A-Z]:/Windows/SYSVOL/sysvol"
       Wilddir="[A-Z]:/Windows/SYSVOL/staging areas"
     }
     Options {
       signature = MD5
       Compression=gzip
       aclsupport=yes
     }
     File = c:/
     File = d:/
   }
}

A windows 7 fileset will probably look just like this. To get a list of 
all JP's there's a bunch of tools available on the internet, or you can 
go by the list bacula gives you ^^

> By contrast, I recently also noticed a bunch of errors of this form in a
> Windows server backup:
>
> 01-May 05:00 saturnalia-fd JobId 14146: Generate VSS snapshots. Driver="VSS 
> Vista", Drive(s)="E"
> 01-May 05:00 saturnalia-fd JobId 14146:      Could not stat 
> "e:/gxxxxxxxxxxxx.Avi": ERR=The system cannot find the path specified.
> 01-May 05:00 saturnalia-fd JobId 14146:      Could not stat 
> "e:/gxxxxxxxxxxxxx.doc": ERR=The system cannot find the path specified.
> 01-May 05:00 saturnalia-fd JobId 14146:      Could not stat 
> "e:/grxxxxxxxxx.Avi": ERR=The system cannot find the path specified.
>
> ...
>
> I currently filter all bacula backup reports into a folder if they have
> a subject header beginning "Bacula: Backup OK of ".  This means that I only
> get bacula reports in my inbox where the backup fails.  If the headers
> could somehow reflect this more severe error, that would be great.
>
> Is there a way to do something like this?  It's difficult to catalogue all
> warnings that might be bad, but one can quite quickly work out what
> warnings are normal.  I guess I'm looking for something like a pedantic
> mode which gives messages like:
>
> ...
>
> Sorry to be demanding :-)
>
> Gavin
Once you edit your fileset you should be left only with "important" 
warnings.

Kind regards,
Jeremy

 **** DISCLAIMER ****
http://www.schaubroeck.be/maildisclaimer.htm

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users