Some of them are hard linked, other are not. I have found other directories with old files. The same folder+files is linked correctly if I only do a short rsync test for this user's homedir (/export/home/pave). > rsync always copy the files because the files have always the actual date/time > i think, you can have a directory or files with dates in future. Three times a day a new dir is created based on the source and hardlinked to the previous backup dirs (I use three backup dirs) > but this don't work, so i delete the complete target-directory und rsync make > on my system, rsync should delete an existing file and link it to an identical > this is an other problem like my problem. for backups, i only need the last setting, so the file can be linked and the attributes can changed to the new settings. rsync always make new copies, if rights, owner or time is changed. I search for an option, to link all files from link-dest-dir which are identical to save space on harddisk, even the times or rights of the file is changed. i correct this time or delete ist, if no more needed, and it works again. this files have a creation or changed time in the future, but this is not by all files. I try something, to find out, why this file ist not linked, but i can't find the reasen!įor some files, i find a reasen for this. This is always the same unchanged file for the backups from three day this month. I used this options for ls to get the list: rwx- 1 root root 377608 Sat Sep 19 04:11:58 2009 19/d/daten/Programme/StarMoney Business 4.0 S-Edition/app/sfktools.dll rwx- 1 root root 377608 Thu Jun 25 10:25:51 2009 19/d/daten/Programme/StarMoney Business 4.0 S-Edition/app/sfktools.dll rwx- 1 root root 377608 Fri Sep 18 04:27:05 2009 18/d/daten/Programme/StarMoney Business 4.0 S-Edition/app/sfktools.dll rwx- 1 root root 377608 Thu Jun 25 10:25:51 2009 18/d/daten/Programme/StarMoney Business 4.0 S-Edition/app/sfktools.dll rwx- 1 root root 377608 Thu Sep 17 04:44:10 2009 17/d/daten/Programme/StarMoney Business 4.0 S-Edition/app/sfktools.dll rwx- 1 root root 377608 Thu Jun 25 10:25:51 2009 17/d/daten/Programme/StarMoney Business 4.0 S-Edition/app/sfktools.dll The option -link-dest ist used more the one time for some backups. Rsync -l -o -g -H -r -t -D -p -v -P -force -timeout=$RSYNC_TIMEOUT -link-dest=dir source destination I use a script for the backup and this options for all backups:
The source systems are windows with cygwin and linux with different systems (suse sles 10, self compiled system). but by the check for files, which are copied and not linked, i find many of this files and i dont know, why rsync make this.
Some of the files are copied intead to make hard-links to the identical source file from one of the given link-destination dir.Īfter the last update of rsync, it seems to get better.
I make backup from some systems with this option for every day in the month.
I have a problem with the -link-dest-option.