----- Original Message ----- 
From: "Dan Langille" <[EMAIL PROTECTED]>
To: "Arunav Mandal" <[EMAIL PROTECTED]>
Cc: <[email protected]>
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
        
}
}


Arunav.


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to