Backing up and daylight saving time

Mar 29, 2011
1
0
#1
For backups to and from a flash memory stick I regularly use a batch file of the form:
COPY /U /S C:\photos\*.* %1\photos\*.*
where %1 is E:, G: etc.
A similar batch file copies new and changed files from the memory stick to the hard drive. Simple and quick, BUT . . .

After a change to or from daylight saving time, this command copies all the files, even ones that haven't been changed for years. For a directory with 300 subdirs and over 8000 files this takes quite a long time. Is there a way to avoid this problem? (I use TC 9.0 on computers with XP-Pro and Win7.)

John Kiernan
London, Canada
= = =
 

rconn

Administrator
Staff member
May 14, 2008
10,551
97
#2
> After a change to or from daylight saving time, this command copies all the files, even ones that haven't been changed for years. For a directory with 300 subdirs and over 8000 files this takes quite a long time. Is there a way to avoid this problem? (I use TC 9.0 on computers with XP-Pro and Win7.)
This isn't TCC, it's normal Windows behavior (albeit one that people have
been complaining about for a LONG time).
 

samintz

Scott Mintz
May 20, 2008
1,271
11
Solon, OH, USA
#3
Short answer: no.

Long answer: Dates & Times are stored
on NTFS volumes in UTC time which means they are not affected by DST. However,
when UTC is converted to local time for display, you will notice a shift
of 1 hour due to DST. This is a long standing "feature"
of NTFS that dates back to the original Windows NT. The only way
to avoid it is to turn off DST but that introduces a whole other set of
problems.

See http://support.microsoft.com/kb/129574
for additional information.

This article on CodeProject has a *really* good explanation:
http://www.codeproject.com/KB/datetime/dstbugs.aspx


-Scott


jkiernan <> wrote on 03/30/2011
01:22:44 PM:


> For backups to and from a flash memory stick I regularly use a batch
> file of the form:
> *COPY /U /S C:\photos\*.* %1\photos\*.**
> where %1 is E:, G: etc.
> A similar batch file copies new and changed files from the memory

> stick to the hard drive. Simple and quick, BUT . . .
>
> After a change to or from daylight saving time, this command copies

> all the files, even ones that haven't been changed for years. For
a

> directory with 300 subdirs and over 8000 files this takes quite a

> long time. Is there a way to avoid this problem? (I use TC 9.0 on

> computers with XP-Pro and Win7.)
>
> John Kiernan
> London, Canada
> = = >
>
>
>
 

samintz

Scott Mintz
May 20, 2008
1,271
11
Solon, OH, USA
#4
Rex,

I have a vague recollection that you
tried to work around this issue at one point in time...

-Scott

samintz <> wrote on 03/30/2011
01:45:33 PM:


>
> Short answer: no.
>
> Long answer: Dates & Times are stored
> on NTFS volumes in UTC time which means they are not affected by
> DST. However,
> when UTC is converted to local time for display, you will notice a
shift

> of 1 hour due to DST. This is a long standing "feature"
> of NTFS that dates back to the original Windows NT. The only
way

> to avoid it is to turn off DST but that introduces a whole other set
of

> problems.
>
> See http://support.microsoft.com/kb/129574
> for additional information.
>
> This article on CodeProject has a *really* good explanation:
> http://www.codeproject.com/KB/datetime/dstbugs.aspx
>
>
> -Scott
>
 
#7
---- Original Message ----
From: nikbackm
To: [email protected]
Sent: Wednesday, 2011. March 30. 14:48
Subject: RE: [Support-t-2739] Re: Backing up and daylight saving time

| You might have better luck lobbying for abolishing the DST
| altogether. They managed in Russia, so how hard can it be?

You mean it is easier to have government to change its policies than it is to get Microsoft to fix its malware? You could be right!
--
Steve
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,602
46
Albuquerque, NM
prospero.unm.edu
#9
---- Original Message ----
From: nikbackm
To: [email protected]
Sent: Wednesday, 2011. March 30. 14:48
Subject: RE: [Support-t-2739] Re: Backing up and daylight saving time

| You might have better luck lobbying for abolishing the DST
| altogether. They managed in Russia, so how hard can it be?

You mean it is easier to have government to change its policies than it is to get Microsoft to fix its malware? You could be right!
I think he actually said that it's easier to get the Russian government to change its policies than it is to get Microsoft to fix its malware....
 
#10
Nikbackm:
| You might have better luck lobbying for abolishing the DST
| altogether. They managed in Russia, so how hard can it be?

Steve:
| You mean it is easier to have government to change its policies than
| it is to get Microsoft to fix its malware? You could be right!

Charles:
| I think he actually said that it's easier to get the Russian
| government to change its policies than it is to get Microsoft to fix
| its malware....

Steve:
No, he suggested to try to get the government of wherever you live
(USA for Charles and me) to change than MS, and used Russia as the
example...

And yes, it is sometimes easier to get governments to change than MS.
The Hungarian Academy of Science changed the official spelling of
"mammoth" to match the MS Word spellchecker...

--
Steve