Hi folks. I made some modifications to flexbackup 0.9.8, which Edwin was
kind enough to incorporate some of. I would like to see if I can contribute
some code to flexbackup to support all the things I have hacked together for
my use, so that I can then use the mainline version.

It seems to me that the idea of the "prune" hash is very clever: it allows
excluding directories on a filesystem by filesystem basis. Could that
concept be extended to any find argument? So something like

$findargs{'myserver:/'} = ' -regex "\./var/\(log\|named\|lib\).* -o -path
"./usr/local* -o -path "./etc*" ';

and then that arg would be appended to the find arguments (whether before or
after the -prune I am not sure, or with -a or -o or what) for that
filesystem.

As a separate contrib project, I could then write a "compiler", which would
take a config file that basically specifies find arguments, only with
greater readability and interspersed comments, and converts it into a
file that could be require'd in flexbackup.conf.

What I have now looks like this:

FILESYSTEM diego:/
# all we are keeping is a few things in /var and /usr/local
"("
   -regex "\./var/\(log\|named\|lib\).*"
   -o -path "./usr/local*"
   -o -path "./etc*"
")"

Let me know if this seems like a useful contribution, if so please add
alex_aminoff as a developer on sourceforge and I will submit my changes thru
CVS.

 - Alex




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
flexbackup-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/flexbackup-help

Reply via email to