You could use this method:
http://wiki.dirvish.com/index.cgi?action=revisions&page_name=ClientScriptsOnServer&revision_id=4
in combination with a "pre-client" script containing something like that:
--snip--
#!/bin/bash
exclude_file="/tmp/dirvish_excludes";
find $1 -type f -name "__dirvish-exclude__" -exec echo {} \; | gawk
'{split($0,a,/__dirvish-exclude__/); print a[1];}' >$exclude_file;
--snip
The marker in this case is "__dirvish-exclude__". The scripts spits out
all folders containing that file and saves it to $exclude_file.
You'd have to call the script with $DIRVISH_SRC as input variable. Then
use scp to get the output of it back to the server. As far as I know it
should go into the current backup directory and named "exclude". If you
look at the summary file of complete backups, rsync seems to look for an
exclude file "--exclude-from=".
For this to work, it may be necessary to get the environment variables
working properly. I've sent a post regarding that to the list recently.
Robert
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish