----- Original Message ----- 
From: "Dan Langille" <[EMAIL PROTECTED]>
To: "Arunav Mandal" <[EMAIL PROTECTED]>
Cc: <bacula-users@lists.sourceforge.net>
Sent: Sunday, September 11, 2005 9:13 PM
Subject: Re: [Bacula-users] Filset exclusions


> On 11 Sep 2005 at 21:15, Arunav Mandal wrote:
>
> >
> > ----- Original Message ----- 
> > From: "Dan Langille" <[EMAIL PROTECTED]>
> > To: "Arunav Mandal" <[EMAIL PROTECTED]>
> > Cc: <bacula-users@lists.sourceforge.net>
> > Sent: Sunday, September 11, 2005 7:27 PM
> > Subject: Re: [Bacula-users] Filset exclusions
> >
> >
> > > On 8 Sep 2005 at 19:50, Arunav Mandal wrote:
> > >
> > > > I am using bacula 1.36.3 version and I tried this Filset but still I
> > > > can't exclude mp3's and other files which I want to exclude.
Anything
> > > > I am missing here?
> > > >
> > > > FileSet {
> > > >   Name = linux-default
> > > >   #Ignore Fileset changes = yes
> > > >   Include {
> > > >   Options {
> > > >   signature=SHA1
> > > >   verify=pins1
> > > >   onefs=no
> > > >   sparse=no
> > > >   wildfile = *.mp3
> > > >   wildfile = *.m4a
> > > >   wildfile = *.o
> > > >   wildfile = *.obj
> > > >   wildfile = *.vob
> > > >   wildfile = *.VOB
> > > >   Exclude = yes
> > > > }
> > >
> > > I suggest putting your exclusions in an Exclude set....
> > >
> > > >   File = /
> > > >   }
> > > >
> > > >   Exclude {
> > > >         File = /dev/shm
> > > >         File = /dev/pts
> > > >         File = /sys
> > > >         File = /proc
> > > >         File = /tmp
> > > >         File = /.journal
> > > >         File = /.fsck
> > > >         File = /mnt
> > > >         File = /space
> > > >         File = /dev
> > > > }
> > >
> > > Put them in the above.
> > >
> > >
> > >
> > > > }
> >
> > So something like this should work ...
> >
> >
> > FileSet {
> >   Name = linux-default
> >   Ignore Fileset changes = yes
> >   Include {
> >   Options {
> >   signature=SHA1
> >   verify=pins1
> >   onefs=no
> >   sparse=no
> >   Exclude = yes
> > }
> >   File = /
> >   }
> >
> >   Exclude {
> >         File = /sys
> >         File = /proc
> >         File = /tmp
> >         File = /.journal
> >         File = /.fsck
> >         File = /mnt
> >         File = /dev
> >         wildfile = *.mp3
> >         wildfile = *.m4a
> >         wildfile = *.o
> >         wildfile = *.obj
> >         wildfile = *.vob
> >         wildfile = *.VOB
> >        wildfile = *.journal
> >        wildfile = *.fsck
> >
> > }
> > }
> >
>
> Yes.

Tested it just now still didnt work still it is backing up mp3. The
filesystem is like this. The mp3 is the the /space.

/dev/sda3             1.1G  639M  389M  63% /
/dev/sda1              52M   38M   12M  77% /boot
/dev/mapper/sysrhea-opt
                      2.0G   33M  2.0G   2% /opt
/dev/mapper/sysrhea-tmp
                      1.0G   39M  986M   4% /tmp
/dev/mapper/sysrhea-usr
                      8.0G  2.4G  5.7G  30% /usr
/dev/mapper/sysrhea-space
                       36G   34G  2.6G  93% /space
/dev/mapper/sysrhea-home
                       22G   16G  6.3G  72% /home


Arunav.

> -- 
> Dan Langille : http://www.langille.org/
> BSDCan - The Technical BSD Conference - http://www.bsdcan.org/
>
>
>



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to