[email protected]
mikel <[email protected]> Wed, 11 Aug 2010 12:07:08 +0200
| Newsgroups | gmane.comp.sysutils.backup.sarab |
|---|---|
| Message-ID | <[email protected]> |
Hi:
I have an A folder, wich is not the root-folder (--fs-root), with two
folders in it, B and C. I want to backup A/B and A/C and all the
subfolders, but not any other thing inside A. On sarab.dcf I add those lines
-P A
-g A/B
-g A/C
With the default dar file selecction order I can't backup B and C as
"-P A" takes precedence over any "-g" parameter.
Dar's documentation says that I can change file selection order adding
--alter=mask to dar's command line order. This way it takes into account
the last -P or -g that appears on the command line.
I have tried to change selecction order using DAR_COMMAND parameter on
sarab.conf, but sarab.sh doesn't take it into account. Finally I have to
change sarab.sh code:
verbose $DAR_BINARY --alter=mask --batch "$SECURITY_CONFIG" --batch
"$SARAB_ETC/$SARAB_DCF" -c "$DAR_CREATE" --noconf $REFERENCE_BASENAME
$DAR_BINARY --alter=mask --batch "$SECURITY_CONFIG" --batch
"$SARAB_ETC/$SARAB_DCF" -c "$DAR_CREATE" --noconf $REFERENCE_BASENAME
Am I missing something?
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev