Michael Gasch
2005-Feb-05 10:11 UTC
[HELP] Rsync to remote machine sometimes produces different binaries
hi, i'm using machine 1 (SuSE 9.0 32Bit): rsync 2.6.2 (from SuSE RPM) machine 2 (SuSE 9.1 64Bit): rsync 2.6.2 (from SuSE RPM) my command looks like the following: /usr/bin/rsync -W --progress --rsync-path=/usr/local/bin/rsync -e ssh --delete --force -av /data/ machine2:/data/machine1/ after rsyncing both machines, some files differ ! i verified these differences with "diff", hexdump and "md5sum" the files are e.g. normal excel files when i look in them, they seem to be the same, but why do they differ with integrity check? "-c" is no alternative for me hence it takes hours to verify 1.000.000 files!!! if i delete the file on the target machine and rerun rsync, the file is ok - but this way i always have to check manually for differences between files and rsync is no help here for automatic backups please help i need it for backup purposes!! thanks -- Michael Gasch - Central IT Department - Max Planck Institute for Evolutionary Anthropology Deutscher Platz 6 04103 Leipzig Germany
Michael Gasch
2005-Feb-05 11:02 UTC
[HELP] Rsync to remote machine sometimes produces different binaries
[update] at the moment there're just .xls documents, which have this behaviour hope this helps!!! Michael Gasch wrote:> hi, > > i'm using > > machine 1 (SuSE 9.0 32Bit): rsync 2.6.2 (from SuSE RPM) > machine 2 (SuSE 9.1 64Bit): rsync 2.6.2 (from SuSE RPM) > > my command looks like the following: > /usr/bin/rsync -W --progress --rsync-path=/usr/local/bin/rsync -e ssh > --delete --force -av /data/ machine2:/data/machine1/ > > after rsyncing both machines, some files differ ! > i verified these differences with "diff", hexdump and "md5sum" > > the files are e.g. normal excel files > when i look in them, they seem to be the same, but why do they differ > with integrity check? > > "-c" is no alternative for me hence it takes hours to verify 1.000.000 > files!!! > > if i delete the file on the target machine and rerun rsync, the file is > ok - but this way i always have to check manually for differences > between files and rsync is no help here for automatic backups > > please help > i need it for backup purposes!! > thanks-- Michael Gasch - Central IT Department - Max Planck Institute for Evolutionary Anthropology Deutscher Platz 6 04103 Leipzig Germany
Wayne Davison
2005-Feb-05 18:08 UTC
[HELP] Rsync to remote machine sometimes produces different binaries
On Sat, Feb 05, 2005 at 11:12:37AM +0100, Michael Gasch wrote:> after rsyncing both machines, some files differ ! > i verified these differences with "diff", hexdump and "md5sum"By default, rsync considers a file to be the same if it has the same size and the same modified-time, so it is possible for two files that match in these attributes to differ in contents. If you can figure out what changed the spreadsheets without tweaking the files' modified-time you might be able to fix the problem at that end.> "-c" is no alternative for me hence it takes hours to verify 1.000.000 > files!!!Since you say that these are just the .xls spreadsheet files that have this problem, would limiting the rsync -c to just the spreadsheets make it workable? /usr/bin/rsync -W --progress --rsync-path=/usr/local/bin/rsync -e ssh -c --delete --force --include='*/' --include='*.xls' --exclude='*' -av /data/ machine2:/data/machine1/ ..wayne..
Reasonably Related Threads
- net rpc vampire / Question or Problem?
- when working with "admin users =" "inherit owner" does not work anymore
- The single WINS problem: question
- How to prevent users from deleting users from domain via usrmgr.exe ???
- weird problem with smbldap-tools and usrmgr.exe