On Wed, 03 Jun 2009, Martin Simmons might have said:

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

Thanks, Martin.

Here's the file set. I didn't want to send a huge message to the list.
Looking at the File Set I see I misspelled backula. Great! That one
change will reduce the size of the backup on the bacula host.

Mike

File Set {
  Name = Unix-Files
  Ignore Fileset Changes = yes
  Include {
    Options {
      signature = MD5
    }
    File = /
    File = /boot
    File = /home
    File = /opt
    File = /opt/CVS
    File = /opt/backups
    File = /opt/bacula
    File = /opt/pointwise
    File = /opt/pwi
    File = /etc
    File = /var
    File = /usr/share
    File = /var/lib
    File = /var/lib/imap
    File = /var/lib/ldap
    File = /var/lib/mysql
    File = /var/spool
    File = /var/spool/imap
    File = /var/spool/mail
    File = /var/spool/samba
    File = /var/www
    File = /var/www/html
    File = /var/www/html/bugzilla
    File = /var/yp
  }

  Exclude {
    File = /proc
    File = /tmp
    File = /.journal
    File = /.fsck
    File = /opt/backula/var
    File = /opt/backula/data
    File = /opt/backula/mysql
    File = /root
    File = /var/lock
    File = /var/log
    File = /var/named/chroot
    File = /var/named/chroot/dev
    File = /var/named/chroot/proc
    File = /var/run
    File = /var/spool/clientmqueue
    File = /var/spool/mqueue
    File = /var/cache
    File = /.cpan
    File = /root/.cpan
  }
}


------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to