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

2009-06-03 Thread Mike Eggleston
On Wed, 03 Jun 2009, Martin Simmons might have said:

> It should work if you insert
> 
> Options {
>   Exclude = yes
>   WildDir = "/opt/data/*/p4"
> }
> 
> here.
> 
> > 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
> 
> Are these all separately mounted filesystems?  If not, you'll get duplication
> when Bacula walks down from /opt into /opt/bacula etc.
> 
> __Martin

Martin,

Thanks for finding my error. I'll also look for duplication in the file
systems. I thought the fd was handling the resolution when multiple
directories are specified.

Mike

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


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

2009-06-03 Thread Martin Simmons
> On Wed, 3 Jun 2009 14:20:43 -0500, Mike Eggleston said:
> 
> 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 {

It should work if you insert

Options {
  Exclude = yes
  WildDir = "/opt/data/*/p4"
}

here.

> 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

Are these all separately mounted filesystems?  If not, you'll get duplication
when Bacula walks down from /opt into /opt/bacula etc.

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


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

2009-06-03 Thread Mike Eggleston
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


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

2009-06-03 Thread Martin Simmons
> 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] please help with understanding WildDir

2009-06-03 Thread Mike Eggleston
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?

Thanks for your time.

Mike

Bacula 2.0.3 (I'm working on an upgrade for this summer)

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