Bacula-users

Re: [Bacula-users] exclude files by size

2010-08-24 05:57:34
Subject: Re: [Bacula-users] exclude files by size
From: Radosław Korzeniewski <radoslaw AT korzeniewski DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 24 Aug 2010 11:54:32 +0200
Hello,

2010/8/14 arne <bacula-forum AT backupcentral DOT com>
Hi Alex,

Thx for your reply.
Do you mean something like this?
 

FileSet &#123;
&nbsp; &nbsp; Name = "Dynamic Fileset"
&nbsp; &nbsp; Include &#123;
&nbsp; &nbsp; &nbsp; &nbsp; Options &#123; signature=SHA1;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _onefs_=yes;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#125;
&nbsp; &nbsp; &nbsp; &nbsp; File = "\\bin\\bash \"find /-size +10485760k&nbsp; -name&nbsp; \"*.zip\"\""
&nbsp; &nbsp; &#125;
&#125;


Not exactly. Your file directive should goes like this:

File = "\\|/path_to_find.script.sh"

Backslash sign "\" means source sile is on client. Pipe sign "|" means source file is a script to execute.
 

So I won't need to execute a ClientRunBefore directive?


No, you won't need. ClientRunBefore allow you to perform an action on client, not a files backup list.
 
Cheers
Arne


regards

--
Radosław Korzeniewski
radoslaw AT korzeniewski DOT net
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
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>