Bacula-users

Re: [Bacula-users] File Exclude

2016-04-15 08:40:34
Subject: Re: [Bacula-users] File Exclude
From: Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
To: "Bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Fri, 15 Apr 2016 14:39:14 +0200
Hello,

You need to place your exclude block for .pst files before your first Options block:

FileSet {   
   Name = inw-universal   
   Include {     
      File = "c:/Users"    
   Options {
       Exclude = yes
       IgnoreCase = yes
       Wild = "C:/Users/*"
       Wild = "*.pst"
     }
      Options {      
         signature = MD5
         IgnoreCase = yes
         RegExDir = "^C:/Users/[^/]+$"
         WildDir = "C:/Users/*/Desktop"
         WildDir = "C:/Users/*/Documents" 
         Wild = "C:/Users/*/Desktop/*"
         Wild = "C:/Users/*/Documents/*" 
    }
   }
 }

Bacula looks for Options resources in the order they are specified in the FileSet resource. If a .pst file matches one of your wild clause ("C:/Users/*/Desktop/*" or "C:/Users/*/Documents/*" ) in your first Options block, it will be accepted for backing up.

Best regards,
Ana

On Tue, Apr 12, 2016 at 10:26 AM, maciejjan <bacula-forum AT backupcentral DOT com> wrote:
Hi,

I'm trying to make a proper fileset, I would like to backup:
c:/Users/*/Desktop
c:/Isers/*/Documents
but exclude from those *.pst files. Fileset like this don't exclude *.pst files?


FileSet &#123;
&nbsp; Name = inw-universal
&nbsp; Include &#123;
&nbsp; &nbsp; File = "c&#58;/Users"
&nbsp; &nbsp; Options &#123;
&nbsp; &nbsp; &nbsp; signature = MD5
&nbsp; &nbsp; &nbsp; IgnoreCase = yes
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; RegExDir = "^C&#58;/Users/&#91;^/&#93;+$"
&nbsp; &nbsp; &nbsp; WildDir = "C&#58;/Users/*/Desktop"
&nbsp; &nbsp; &nbsp; WildDir = "C&#58;/Users/*/Documents"
&nbsp; &nbsp; &nbsp; Wild = "C&#58;/Users/*/Desktop/*"
&nbsp; &nbsp; &nbsp; Wild = "C&#58;/Users/*/Documents/*"
&nbsp; &nbsp; &#125;
&nbsp; Options &#123;
&nbsp; &nbsp; &nbsp; Exclude = yes
&nbsp; &nbsp; &nbsp; IgnoreCase = yes

&nbsp; &nbsp; &nbsp; &nbsp; Wild = "C&#58;/Users/*"
&nbsp; &nbsp; &nbsp; &nbsp; Wild = "*.pst"
&nbsp; &nbsp; &#125;
&nbsp; &#125;
&#125;

+----------------------------------------------------------------------
|This was sent by maciej.jankowiak AT abgltd DOT eu via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
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>