I use rsync to backup several servers to harddisk on a backupserver. To save space i use the --link-dest option which creates a hardlink to the file of the last backup if the file hasn?t changed. Under certain circumstances the file doesn?t exist in the last backup, but in the second last backup ore somwhere else. If for example a backup couldn?t be completed (maybe because of a loss of power) then the next day all the files which are not in the lastbackup are backuped again even though they exist in the second last backup. Those files could for example be hardlinked to the secondlast backup. Is there a way to achive this? (maybe through something like multiple --link-dest options) regards norbert
On Mon, Oct 18, 2004 at 10:34:09AM +0200, Norbert Wild wrote:> Is there a way to achive this? > (maybe through something like multiple --link-dest options)The "patches" dir has a diff named compare-dest.diff that implements multiple --compare-date/--link-dest options. Just apply it after the g2r-basis-filename.diff, and remember to run "make proto" prior to "make" and you will be able to specify multiple --link-dest options. ..wayne..