EXPLANATION
http://samba.anu.edu.au/ftp/rsync/rsync.html
Scroll down to "EXCLUDE PATTERNS", then read the paragraph discussing
"--relative".
CODE CHANGE
In rsnapshot perl script,
-----
my $global_default_rsync_long_args = '--delete --numeric-ids';
-----
should now read
-----
my $global_default_rsync_long_args = '--delete --numeric-ids --relative';
-----
NEW CONF SYNTAX
exclude home/foo/bar/gorp
backup /home/foo/bar/gorp/ /localhost
Note that the backup point path is no longer appended to the
destination.
Sorry for the terse email -- I'm sleepy :)
--
Sourav K. Mandal
http://sourav.net/
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
