1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Backing up and daylight saving time

Discussion in 'Support' started by jkiernan, Mar 30, 2011.

  1. jkiernan

    Joined:
    Mar 29, 2011
    Messages:
    1
    Likes Received:
    0
    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
    = = =
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,863
    Likes Received:
    83
    This isn't TCC, it's normal Windows behavior (albeit one that people have
    been complaining about for a LONG time).
     
  3. samintz

    samintz Scott Mintz

    Joined:
    May 20, 2008
    Messages:
    1,190
    Likes Received:
    11
    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:




    a



     
  4. samintz

    samintz Scott Mintz

    Joined:
    May 20, 2008
    Messages:
    1,190
    Likes Received:
    11
    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:


    shift

    way

    of

     
  5. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,863
    Likes Received:
    83
    I tried, but it turned out to be a cannister of annelids. I could "fix" the problem but it generated a half-dozen other incompatibilities.
     
  6. nikbackm

    Joined:
    May 30, 2008
    Messages:
    194
    Likes Received:
    1
    You might have better luck lobbying for abolishing the DST altogether. They managed in Russia, so how hard can it be? :)
     
  7. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    ---- Original Message ----
    From: nikbackm
    To: ESFabian@zenge.org
    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
     
  8. Rod Savard

    Joined:
    May 26, 2008
    Messages:
    481
    Likes Received:
    3
    This isn't an issue if both the source and destination are NTFS, correct? If one is FAT, then yes, you will have a problem.
     
  9. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
    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. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    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
     

Share This Page