Bacula-users

Re: [Bacula-users] Exclude won't exclude

2011-10-18 17:53:10
Subject: Re: [Bacula-users] Exclude won't exclude
From: Judi Cushing <jpc AT thinksrs DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 18 Oct 2011 14:37:25 -0700
Hi,

I think the problem my be that you have 2 Options under Include.  Change:

Include {
     Options {
                wilddir = "c:/users/colyn/AppData"
                wilddir = "c:/users/colyn/Application Data"
                wilddir = "c:/users/colyn/Cookies"
                wilddir = "c:/users/colyn/Documents/My Music"
                wilddir = "c:/users/colyn/Documents/My Pictures"
                wilddir = "c:/users/colyn/Documents/My Videos"
                wilddir = "c:/users/colyn/Local Settings"
                wilddir = "c:/users/colyn/My Documents"
                wilddir = "c:/users/colyn/NetHood"
                wilddir = "c:/users/colyn/PrintHood"
                wilddir = "c:/users/colyn/Recent"
                wilddir = "c:/users/colyn/SendTo"
                wilddir = "c:/users/colyn/Start Menu"
                wilddir = "c:/users/colyn/Templates"
                exclude = yes
                ignore case = yes
              }

     Options {
                Compression = GZIP
                ignore case = yes
                verify = pnugsi
              }
        
        @/etc/bacula/Colynbup
          }
   Exclude {
                File = c:/users/colyn/.VirtualBox
                File = c:/users/colyn/Downloads
        }
}
  to:

Include {
     Options {
                wilddir = "c:/users/colyn/AppData"
                wilddir = "c:/users/colyn/Application Data"
                wilddir = "c:/users/colyn/Cookies"
                wilddir = "c:/users/colyn/Documents/My Music"
                wilddir = "c:/users/colyn/Documents/My Pictures"
                wilddir = "c:/users/colyn/Documents/My Videos"
                wilddir = "c:/users/colyn/Local Settings"
                wilddir = "c:/users/colyn/My Documents"
                wilddir = "c:/users/colyn/NetHood"
                wilddir = "c:/users/colyn/PrintHood"
                wilddir = "c:/users/colyn/Recent"
                wilddir = "c:/users/colyn/SendTo"
                wilddir = "c:/users/colyn/Start Menu"
                wilddir = "c:/users/colyn/Templates"
                exclude = yes
                ignore case = yes
                Compression = GZIP
                verify = pnugsi
        }
        @/etc/bacula/Colynbup
}       

  Exclude {
                File = c:/users/colyn/.VirtualBox
                File = c:/users/colyn/Downloads
}

Also, I put everything under the Options and did not use anything in exclude:

Include {
     Options {
                wilddir = "c:/users/colyn/AppData"
                wilddir = "c:/users/colyn/Application Data"
                wilddir = "c:/users/colyn/Cookies"
                wilddir = "c:/users/colyn/Documents/My Music"
                wilddir = "c:/users/colyn/Documents/My Pictures"
                wilddir = "c:/users/colyn/Documents/My Videos"
                wilddir = "c:/users/colyn/Local Settings"
                wilddir = "c:/users/colyn/My Documents"
                wilddir = "c:/users/colyn/NetHood"
                wilddir = "c:/users/colyn/PrintHood"
                wilddir = "c:/users/colyn/Recent"
                wilddir = "c:/users/colyn/SendTo"
                wilddir = "c:/users/colyn/Start Menu"
                wilddir = "c:/users/colyn/Templates"
                wilddir = "c:/users/colyn/.VirtualBox"
                wilddir = "c:/users/colyn/Downloads"
                 exclude = yes
                ignore case = yes
                Compression = GZIP
                verify = pnugsi
        }
        @/etc/bacula/Colynbup
}       
Exclude {
}


I am not sure if you know that you can do this:

wilddir = "[A-Z]:/users/*/AppData"

instead of the more specific:

wilddir = "c:/users/colyn/AppData"

The only reason I bring it up is because I did not know.......

  

   

Hi All, I have been trying to get this sorted without success.
I am running Bacula 5.3 on Ubuntu 11.04 server and mysql.
I am trying to exclude directories on Windows 7 client but they are backed up 
each time.
Here is the fileset snippet. Can anyone see the error?

FileSet {
   Name = "Colyn Set"
   Enable VSS = yes
   Ignore FileSet Changes = yes

        
   Include {
     Options {
                wilddir = "c:/users/colyn/AppData"
                wilddir = "c:/users/colyn/Application Data"
                wilddir = "c:/users/colyn/Cookies"
                wilddir = "c:/users/colyn/Documents/My Music"
                wilddir = "c:/users/colyn/Documents/My Pictures"
                wilddir = "c:/users/colyn/Documents/My Videos"
                wilddir = "c:/users/colyn/Local Settings"
                wilddir = "c:/users/colyn/My Documents"
                wilddir = "c:/users/colyn/NetHood"
                wilddir = "c:/users/colyn/PrintHood"
                wilddir = "c:/users/colyn/Recent"
                wilddir = "c:/users/colyn/SendTo"
                wilddir = "c:/users/colyn/Start Menu"
                wilddir = "c:/users/colyn/Templates"
                exclude = yes
                ignore case = yes
              }

     Options {
                Compression = GZIP
                ignore case = yes
                verify = pnugsi
              }
        
        @/etc/bacula/Colynbup
          }
   Exclude {
                File = c:/users/colyn/.VirtualBox
                File = c:/users/colyn/Downloads
        }
}

TIA
Glyn


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Bacula-users] Exclude won't exclude, Judi Cushing <=