Incremental Backups

Wayne Davison wayned at
Fri Feb 18 00:56:43 GMT 2005

On Thu, Feb 17, 2005 at 12:20:57PM -0600, Chris McKeever wrote:
> so the chain goes
> hardlink a mirror directory to a new folder
> rsync live data to a mirror directory
> deleted files between the mirror/live data are then persistant in the
> hardlinked daily directories

Doing this can tweak the permissions/ownership/mod-time of any files
that are hard-linked into the destination directory.  You can choose to
do this if you don't mind the older files inheriting the more modern
file attributes in order to save disk space.  This method requires
--delete but does not need --link-dest.

The first method mentioned in this thread was rsyncing into an empty
directory using --link-dest.  This method has no need of --delete, and
any files that differ in either contents OR attributes are created anew
in the brand new destination hierarchy -- only completely identical
files are hard linked together with the files in the --link-dest


More information about the rsync mailing list