]> git.sur5r.net Git - bacula/docs/commitdiff
Fix #1742 about trailing slash in exclude {}
authorEric Bollengier <eric@eb.homelinux.org>
Wed, 8 Jun 2011 08:54:58 +0000 (10:54 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Wed, 8 Jun 2011 08:55:09 +0000 (10:55 +0200)
docs/manuals/en/main/fileset.tex

index a0675bcf81a7f603ca327a9651026ed10fbabebb..d8655bfdbf82ab0ca54b4d5be9bdc2aadbb1c8b8 100644 (file)
@@ -1226,7 +1226,7 @@ FileSet {
      File = /usr/lib/another_file
   }
   Exclude {
      File = /usr/lib/another_file
   }
   Exclude {
-     File = /tmp
+     File = /tmp                          # don't add trailing /
   }
 }
 \end{verbatim}
   }
 }
 \end{verbatim}
@@ -1545,7 +1545,8 @@ RunBeforeJob} directive.
 You may also include full filenames or directory names in addition to using
 wild-cards and {\bf Exclude=yes} in the Options resource as specified above by
 simply including the files to be excluded in an Exclude resource within the
 You may also include full filenames or directory names in addition to using
 wild-cards and {\bf Exclude=yes} in the Options resource as specified above by
 simply including the files to be excluded in an Exclude resource within the
-FileSet. For example: 
+FileSet. It accepts wild-cards pattern, so for a directory, don't add a trailing
+/. For example:
 
 \footnotesize
 \begin{verbatim}
 
 \footnotesize
 \begin{verbatim}
@@ -1563,7 +1564,7 @@ FileSet {
   }
   Exclude {
     File = /proc
   }
   Exclude {
     File = /proc
-    File = /tmp
+    File = /tmp                          # Don't add trailing /
     File = .journal
     File = .autofsck
   }
     File = .journal
     File = .autofsck
   }