Bacula-users

Re: [Bacula-users] please help with understanding WildDir

2009-06-03 15:08:41
Subject: Re: [Bacula-users] please help with understanding WildDir
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 3 Jun 2009 20:02:20 +0100
>>>>> On Wed, 3 Jun 2009 07:59:00 -0500, Mike Eggleston said:
> 
> Morning,
> 
> I have been running bacula for quite some time (wonderful system). I'm
> tweaking my backups to reduce just how much stuff is backed up and
> eliminate those things that can be reinstalled rather than restored if
> needed. Today I'm looking at a series of files that are copied from an
> internal source code repositiory. Since the source code repository is
> backed up nightly, I don't want to backup up an individual's copies of
> those files (the individuals are by company policy required to manage
> any files checked out that have changes that are not yet checked back
> in to the source code repository).
> 
> In my bacula-dir.conf I have a line: WildDir =
> "/opt/data/*/p4" In last night's backup I have the
> following file that was backed up: (query, 12, $jobid)
> /opt/data/user/p4/user_shared/product/dist_sdk/PluginSDK/src/plugins/CaeXML/x64/Debug/runtimeWrite.obj
> 
> My understanding, that I must have wrong, is that since the
> bacula-dir.conf this section of the File Set has Exclude = yes that
> /opt/data/*/p4 is excluded that also implies that anything under
> /opt/data/*/p4 is also excluded. I do have a statement further down
> in the File Set section of 'File = /opt/data' so that everything else
> is included.
> 
> Is there a conflict in what I have done?  Is there a better way to
> exclude part and include the rest?

Your approach should work, but the description of your fileset was too vague
for me to tell why it doesn't.

I recommend that you post the complete fileset definition to the list.

__Martin

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users