Bacula-users

[Bacula-users] Exclude not working the way I expected

2009-11-13 07:38:54
Subject: [Bacula-users] Exclude not working the way I expected
From: Glynd <glyn AT cirrus.co DOT za>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 13 Nov 2009 04:25:09 -0800 (PST)
I have obviously not understood how exclude works.
I have the following in my fileset resource but all that is backed up are
the directories defined in the Glynbup.txt with no files

FileSet {
  Name = "Glyn Set"
  Enable VSS = yes
  Include {
    Options {
        Compression = GZIP
#       signature = MD5
        ignore case = yes
        Exclude = yes
    }
        
        File = "</var/lib/bacula/bin/Glynbup.txt"
  }
  Exclude {
        File = "</var/lib/bacula/bin/glynexclude.txt"
  }
}

The Glynbup.txt has a list of directories without "File =" like this
c:/downloads
c:/My Documents

The glynexclude.txt is of the same format. Even if I just put in the exclude
resource, the actual directories in the form of:
c:/users/temp
c:/user/Nethood

instead of referencing the file, I still get only the directories and no
files.

The workaround I am using is to comment out exclude = yes. Ugly but it does
the job.

Would someone please show me the error of my ways?

TIA
Glyn
-- 
View this message in context: 
http://old.nabble.com/Exclude-not-working-the-way-I-expected-tp26335816p26335816.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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>