Bacula-users

[Bacula-users] Best way to exclude directories

2009-04-10 19:44:53
Subject: [Bacula-users] Best way to exclude directories
From: Steve OBrien <steve.obrien AT hdesd DOT org>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 10 Apr 2009 16:39:42 -0700
I have seen several different ways to exclude directories and was
wondering what the best way is and how to tell if it is even obeying the
directives!  Currently I use something like this:

FileSet {
  Name = "FullSolaris"
  Include {
    Options {
      Signature = MD5
      OneFS = no
      FSType = ufs
    }
    File = "/"
  }
  Exclude {
    File = "/dev"
    File = "/devices"
    File = "/system"
    File = "/proc"
    File = "/tmp"
    File = "/mnt"
  }
}

But have also seen the wilddirs like this:
FileSet {
  Name = "FullLinux"
  Include {
    Options {
      Signature = MD5
      OneFS = no
      Sparse = yes
      ACLSupport = yes
      FSType = ext2
      Exclude = yes
         wildDir = "/var/run/*"
         wildDir = "/var/spool/clientmqueue/*"
         wildDir = "*/lost+found/*"
    }
    File = "/"
  }
}

TIA,
Steve



------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
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>