<[EMAIL PROTECTED]> aka Martin Simmons  schrieb
mit Datum Wed, 6 Feb 2008 22:02:09 GMT in m2n.bacula.users:

|>>>>> On Wed, 6 Feb 2008 22:20:25 +0100, Thomas Mohr said:

|> then all user directories beginning with t are backed up
|> bwild matches /home/*/Documents with /home/username/Documents
|> 
|> what am I doing wrong ?

I had the same problem.

|You could also do it with a File clause that finds the Documents dirs each
|time, e.g.
|
|File = "\\|ls -1d /home/*/Documents"

I think that is the better solution. At least it is what I decided
to do after I got bored of the wilddirs not quite doing what I
wanted.

I suggest to add an error-capture (and a shell), so that it can be
used universally on all clients, even if they currently do not have
homedirs mounted:

   File = "\\|sh -c \"ls -1d /home/*/whatever 2>/dev/null || true\""

rgds,
PMc
-- 
..having tossedaway Microsoft(tm) already in 1991!

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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