• February 23, 2025, 07:02:08 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: DNS 321 with xcopy /d command still copies all files  (Read 4736 times)

gerrym

  • Level 1 Member
  • *
  • Posts: 18
DNS 321 with xcopy /d command still copies all files
« on: December 01, 2010, 02:13:53 PM »

This was discussed on the surface in a post over a year ago.   Having just purchased two of these DNS321, I am using some basic xcopy scripts in .cmd files to provide backups onto the DNS321 from various XP boxes.

xcopy /d copies only newer files, and works great on all other network or local storage I've used.   But the DNS321 being Linux based and using an SMB mount to a ext3 file system is causing xcopy /d to just copy ever file every time.    Tests to locally mounted or USB/Firewire drives indictate its just the DNS321 doing this.  Is there a setting on the DNS321 to get around this?   Should I try NFS?

I have tried Robocopy, it behaves the same, i.e. copies all files to the DNS321, but works fine to other USB or Firewire connected drives.

Any one work this one out?    I have a very simple requirement, and sure... backup software would work.  Scripts and the AT command have always done it for me, but not with this device.

???
« Last Edit: December 01, 2010, 02:15:39 PM by gerrym »
Logged
Retired Network Janitor

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: DNS 321 with xcopy /d command still copies all files
« Reply #1 on: December 01, 2010, 02:26:41 PM »

I've posted this in the 323 forum, but have included below.

Quote
This is because NTFS timestamps have a greater granularity than EXT file systems.
In robocopy for example, you need to specify the /FFT (assume FAT File System - allow for 2 second or less difference) switch to stop this problem. FAT also has a less accurate timestamp than NTFS.

FAT - 2 seconds
exFAT - 10 milliseconds
NTFS - 100 nanoseconds
EXT2/3 - 1 second
« Last Edit: December 02, 2010, 02:49:20 PM by jamieburchell »
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

gerrym

  • Level 1 Member
  • *
  • Posts: 18
Re: DNS 321 with xcopy /d command still copies all files
« Reply #2 on: December 02, 2010, 02:03:41 PM »


Oh MOST EXCELLENT!!

Using /FFT as one of the switches and it works!!!

( that  /FFS switch as above is not found in robocopy... guess I need to send you a Starbucks card.   )

 ;)

You have REALLY helped here!   I need to check out the 323 section.   Yep.
Logged
Retired Network Janitor

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: DNS 321 with xcopy /d command still copies all files
« Reply #3 on: December 02, 2010, 02:49:48 PM »

Apologies, I did mean /FFT.
Glad to have helped!
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!