MANUEL CANSECO GARCIA
2005-Nov-25 14:11 UTC
Rsync sincronize complete file and not the changes
Hi, i have probed rsync for sinchronize files beetwen windows 2000 Server and Linux server. I have mounted the windows directory with samba and i have executed rsync with -avr parameters to sinchronize the files. After sinchronization i have opened one file but i didn't made any change but openned date of the file. I have relaunched sinchronization and the file is completely sinchronized and not only the changes in the date...i haved changed one character in the file too (the file is a txt file), and it has completely synchronized too....what's the problem? Help Me plz
On Fri, 25 Nov 2005, MANUEL CANSECO GARCIA wrote:> Date: Fri, 25 Nov 2005 15:11:18 +0100 > From: MANUEL CANSECO GARCIA <MCG@mpsistemas.es> > To: rsync@lists.samba.org > Subject: Rsync sincronize complete file and not the changes > > Hi, > > i have probed rsync for sinchronize files beetwen windows 2000 Server > and Linux server.You need rsync on both sides, e.g. deamon on the server. When you have rsync on one side only, how could it know, what is the contents of the file without reading its all bytes?> > I have mounted the windows directory with samba and i have executed > rsync with -avr parameters to sinchronize the files. > After sinchronization i have opened one file but i didn't made any > change but openned date of the file. > I have relaunched sinchronization and the file is completely > sinchronized and not only the changes in the date...i haved changed one > character in the file too (the file is a txt file), and it has > completely synchronized too....what's the problem? Help Me plz >Regards, Wojtek
On Friday, November 25, 2005 2:11 PM <MCG@mpsistemas.es> wrote:> I have mounted the windows directory with samba and i have executed > rsync with -avr parameters to sinchronize the files. > After sinchronization i have opened one file but i didn't made any > change but openned date of the file. > I have relaunched sinchronization and the file is completely > sinchronized and not only the changes in the date...i haved changed > one character in the file too (the file is a txt file), and it has > completely synchronized too....what's the problem? Help Me plzWith no rsync server, you're mounting an smb share instead, and both source/dest are treated as local (in which case the rsync incremental algorithm is not used). You may want to use the "--no-whole-file" option to allow the incremental algorithm. Steve :)