Workaround (description of problem see below):

FileSet  {
        Name = "test.set"
        Include {
                File = "|myfile"
        }
}


myfile  (chmod a+x):

#!/bin/sh
find /tmp/test/|egrep "^/tmp/test/[^/]+/1/.*"



Result:
/tmp/test/a2/1/test_file
/tmp/test/b1/1/test_file
/tmp/test/b2/1/test_file
/tmp/test/a1/1/test_file
the end.



---- problem
-----------------------------------------------------------------

There is a structure of directories:

find /tmp/test/

/tmp/test/
/tmp/test/a2
/tmp/test/a2/2
/tmp/test/a2/2/test_file
/tmp/test/a2/test_file
/tmp/test/a2/1
/tmp/test/a2/1/test_file
/tmp/test/b1
/tmp/test/b1/2
/tmp/test/b1/2/test_file
/tmp/test/b1/test_file
/tmp/test/b1/1
/tmp/test/b1/1/test_file
/tmp/test/b2
/tmp/test/b2/2
/tmp/test/b2/2/test_file
/tmp/test/b2/test_file
/tmp/test/b2/1
/tmp/test/b2/1/test_file
/tmp/test/test_file
/tmp/test/a1
/tmp/test/a1/2
/tmp/test/a1/2/test_file
/tmp/test/a1/test_file
/tmp/test/a1/1
/tmp/test/a1/1/test_file


It is required to make backup on a mask:
"/tmp/test/*/1"

The following FileSet description does not work:
Include {
Options {
wilddir = "/tmp/test/*/1"
}
Options {
exclude = yes
regexdir = ".*"
}
File = /tmp/test
}

bwild makes correct output:
/tmp/test/a2/1
/tmp/test/b1/1
/tmp/test/b2/1
/tmp/test/a1/1

estimate command output only "/tmp/test"

What here it is wrong?

And how to receive demanded result?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to