Results 1 to 2 of 2

Thread: Backup Batch File

  1. #1
    Junior Member
    Join Date
    Feb 2008

    Question Backup Batch File

    I have been using the following batch file to backup several folders on my C drive to a flash drive for quite some time. The batch file has been working great.

    How to Backup using Batch Files 2004.12.10 13:03 EST by Philip

    I recently installed a network hard drive and I am backing up to that instead of the flash drive.

    Now when I run the batch file to backup to the network drive, it backs up files that have not changed since the last backup even though I am using the /d switch.

    Why would this work differently when backing up to a network drive as opposed to a flash drive? Any help you can render will be greatly appreciated. Thanks!

  2. #2
    Junior Member
    Join Date
    Feb 2008
    With a little research, I was able to answer my own question. The following article can be found here:

    When performing incremental backups, xcopy compares the timestamp of files in the source directory to the timestamp of existing files in the destination directory to determine whether the file has changed and needs to be re-copied. This doesn't always work as expected when copying between different file systems that record timestamps to differing granularity. For example, NTFS records timestamps to 0.1 seconds, but FAT timetamps are only accurate to within 2 seconds. The result is that if you backup to another computer on your network or NAS drive that uses a filesystem with a different timestamp format, you may end up recopying files that already exist because the timestamps are slightly different. There doesn't appear to be a solution to this using xcopy, but alternative utilites have command line options to allow a "fuzzy" timestamp comparison so that if the source and destination timestamps are within a couple of seconds of each other they are treated as being the same: With xxcopy use the /ff option or with robocopy use /fft.

Similar Threads

  1. backup batch file
    By zoulou in forum Programming Forum
    Replies: 4
    Last Post: 05-09-07, 01:25 AM
  2. Please new to dsl and already having problem
    By weedancer in forum General Broadband Forum
    Replies: 46
    Last Post: 03-09-07, 05:23 PM
  3. Problems with NERO
    By Qui-Gon John in forum Software Forum
    Replies: 6
    Last Post: 11-05-06, 04:58 PM
  4. Need sugestion - backup with batch file in network
    By challenger in forum Software Forum
    Replies: 9
    Last Post: 05-16-06, 03:10 PM
  5. How can I highlight the text in this webpage?
    By RoundEye in forum General Discussion Board
    Replies: 6
    Last Post: 01-20-05, 09:57 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts