On 10/05/10 07:24, Simone Martina wrote: > Hi, > I'm trying to backup some folders from a server. I could list them from > bash with this command: > ls /ftpdir/linkstar/rncc??/burst/*.gz > > But I wasn't able to write the right file set, I've tried in this way: > Include { > Options { > signature = MD5 > compression=GZIP9 > Wild = "*.gz" > } > File = /ftpdir/linkstar/rncc??/burst > } > > and also in this one: > > Include { > Options { > signature = MD5 > compression=GZIP9 > regex = "rncc[.][.]/burst/*.gz" > } > File = /ftpdir/linkstar/ > } > > But in the first manner Bacula couldn't find my files, in the second one > none file is selected. > > I would like to save on backup only .gz files from subdirectories of > /ftpdir/linkstar/ wich begin with rncc and end witch two char > (alphanumeric non predictable). > > Could you help me?
Simone, try this: File = "\\|bash -c \"find /ftpdir/linkstar/ -name rncc\?\?.gz \"" -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.org Renaissance Man, Unix ronin, Perl hacker, Free Stater It's not the years, it's the mileage. ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users