From: Wayne Davison Date: Fri, 16 Dec 2005 17:18:29 +0000 (+0000) Subject: If the user specifies --backup with --delete (but without --backup-dir X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/c2c5682c0b5b56b455d9e7bada05f211213818c2?hp=c2c5682c0b5b56b455d9e7bada05f211213818c2 If the user specifies --backup with --delete (but without --backup-dir and --delete-excluded), append a protect-filter rule onto the list of filter rules. We run this on both the client and server side so that an older client talking to a newer server still gets the protection rule. (This rule will not cause compatibility problems with older versions of rsync due to the graceful way that a protect rule turns into an exclude rule if it needs to be sent to an older server.) ---