Re: [Bacula-users] exclude files by size
2010-08-24 05:57:34
Hello,
2010/8/14 arne <bacula-forum AT backupcentral DOT com>
Hi Alex,
Thx for your reply.
Do you mean something like this?
FileSet {
Name = "Dynamic Fileset"
Include {
Options { signature=SHA1;
_onefs_=yes;
}
File = "\\bin\\bash \"find /-size +10485760k -name \"*.zip\"\""
}
}
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.
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
|
|
|