Alex Janssen
2006-Apr-04 04:13 UTC
Rsync decides to copy all old files to WinXP based server
Hi, I've been using rsync to create backup copies of all my data files on my Linux laptop to my Windows XP Home based desktop for about 6 months now. Been working as it should, copying only files that changed since the last backup. The first backup I ran after the time change to Daylight Saving Time it wanted to copy all of the files regardless of the timestamp. It copied old files that had not changed as well as the files that had changed. All of the timestamps on the destination ended up correctly set after the copy occurred but the appeared to be the same before the copy began as well. I am stumped. I don't know what the system time has to do with it seeing as it is comparing file timestamps. Thanks for any suggestions. Alex -- Ourwoods.org Charlottesville, Virginia
Craig Barratt
2006-Apr-04 04:40 UTC
Rsync decides to copy all old files to WinXP based server
Alex Janssen writes:> I've been using rsync to create backup copies of all my data files on my > Linux laptop to my Windows XP Home based desktop for about 6 months > now. Been working as it should, copying only files that changed since > the last backup. The first backup I ran after the time change to > Daylight Saving Time it wanted to copy all of the files regardless of > the timestamp. It copied old files that had not changed as well as the > files that had changed. All of the timestamps on the destination ended > up correctly set after the copy occurred but the appeared to be the same > before the copy began as well. I am stumped. > > I don't know what the system time has to do with it seeing as it is > comparing file timestamps.FAT file systems store time stamps in local time, so they change with DST. See JW Schultz's excellent write up: http://www.cygwin.com/ml/cygwin/2003-10/msg00995.html Craig
Wayne Davison
2006-Apr-04 04:49 UTC
Rsync decides to copy all old files to WinXP based server
On Tue, Apr 04, 2006 at 12:12:32AM -0400, Alex Janssen wrote:> The first backup I ran after the time change to Daylight Saving Time > it wanted to copy all of the files regardless of the timestamp.Check out this excellent write-up of the MS Windows brain damage that causes this in this old message (from the much-missed J.W.): http://www.cygwin.com/ml/cygwin/2003-10/msg00995.html There are suggestions contained therein that describe how to avoid the problem in the future (for those that can't switch to a better OS). ..wayne..