Re: [Bacula-users] Exclude Directory contents
2008-10-06 19:01:22
> -----Original Message-----
> From: Michael Reifenberger [mailto:mike AT reifenberger DOT com]
> Sent: Tuesday, 7 October 2008 7:52 AM
> To: bacula-users AT lists.sourceforge DOT net
> Subject: [Bacula-users] Exclude Directory contents
>
> Hi,
> what is the official way to exclude the content of a directory
> but include the directory itself in an Fileset definition.
>
> We often have the situation that we want to backup the
> directory entry for /tmp (since its a mountpoint) but
> not its contents...
> The example below would not satisfy this requeirements.
>
> ...
> Exclude {
> File = "/tmp"
> }
> ...
Have you tried a wildfile statement?
Include {
Options {
Wildfile = "/tmp/*"
Exclude = yes
}
File = /
}
From my understanding of the options, during back-up of root that should
exclude all files within /tmp (/), but include the /tmp directory itself.
Cheers,
Dagan McGregor
Landmark Technologies
-------------------------------------------------------------------------
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
|
|
|