Marc St-Onge
2005-Feb-25 18:10 UTC
Request to include delete-dir-and-suffix patch in rsync-2.6.4
The delete-dir-and-suffix patch creates two new command line options as follows: --delete-dir --delete-suffix The delete-dir and delete-suffix options give the ability to store backup of deleted files on the receiver in different directories or with different suffix than the backup of files that have been changed but that are still on the source drive. Both commands can be combined. This patch turns Rrsync into a very convenient backup and restore system as it treats the mirror image of existing files, the archive repository of files that have been changed, and the repository of files that have been deleted in three separate directory or filesystem. This is now widely used in our organization and has saved us the expense of buying a SAN. Marc St-Onge
Wayne Davison
2005-Feb-25 19:00 UTC
Request to include delete-dir-and-suffix patch in rsync-2.6.4
On Fri, Feb 25, 2005 at 01:09:36PM -0500, Marc St-Onge wrote:> The delete-dir and delete-suffix options give the ability to store > backup of deleted files on the receiver in different directories or > with different suffix than the backup of files that have been changed > but that are still on the source drive.The patches dir has the lastest version of this patch in which the options have been renamed to not begin with "delete" (since they are not options that cause something to be deleted). The options are currently named this: --backup-dir-dels=DIR --suffix-dels=SUFFIX You can see the CVS version of this patch here: http://rsync.samba.org/ftp/unpacked/rsync/patches/backup-dir-dels.diff I don't personally see the extra utility for this option (since a deleted file gets a backup), so it is not going to be in 2.6.4 except in the patches dir. ..wayne..
Reasonably Related Threads
- --delete and --backup - Backup file gets deleted
- DO NOT REPLY [Bug 6020] New: support/rrsync fails when server-side options include "-e."
- "-b --suffix '' --delete --backup-dir /path/" combination does not act as expected
- rrsync with --delete
- leaps: XHAUST returned error code -999