Bacula-users

Re: [Bacula-users] Backup up just certain directories

2008-09-17 19:31:43
Subject: Re: [Bacula-users] Backup up just certain directories
From: "Joshua J. Kugler" <joshua AT eeinternet DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 17 Sep 2008 15:31:30 -0800
On Wednesday 17 September 2008, Martin Simmons said something like:
> The two important points to remember are:
>
> 1) Bacula walks over the filesystem depth-first starting from the
> File= lines. It stops descending when a directory is excluded, so you
> must include all ancestor directories of each directory containing
> files to be included.
>
> 2) Each directory and file is compared to the Options clauses in the
> order they appear in the fileset.  When a match is found, no further
> clauses are compared and the directory or file is either included or
> excluded.
>
> Therefore, you at least need to put the Option clause with
> Exclude=yes after the main one, otherwise it will exclude all files. 
> In addition, you should use Wild in the Exclude=yes clause, not
> WildFile which would include all directories in the whole tree. 
> After doing that, you need to include the My Documents directory
> explicitly.

Still working on getting that cemented in my noggin.

> The following should work:

YES! It did! ThankyouThankyouThankyouThankyou!!

So much appreciated!

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users