simple incremental backup woes. solutions?

Matt McCutchen matt at mattmccutchen.net
Fri Sep 5 19:44:43 GMT 2008


On Fri, 2008-09-05 at 20:29 +0200, The Peach wrote:
> Right now: 
> if the directory in the source is deleted, in the destination the files
> contained in the directory are renamed, while the directory itself
> is not.
> 
> So... is it possible to have both renamed instead of only the files?

Yes.  I hacked up a patch to do this for you with a --backup-whole-dirs
option; the patch is attached.  The patched version of rsync is also
available in branch hacks/backup-whole-dirs of my repository.

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: backup-whole-dirs.diff
Type: text/x-patch
Size: 4356 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20080905/7e17f248/backup-whole-dirs.bin


More information about the rsync mailing list