xcopy with /D switch to non-windows filesystems

F

flarosa

I recently installed a NAS drive (network attached storage) which is
basically a small Linux system that acts as a dedicated file share.

Mostly it works fine, in the sense that I can attach to it and copy
files back and forth.

I used xcopy to back up a large directory to the networked drive, then
subsequently I used xcopy with the /D switch to copy only the files
that were new or changed since the last copy.

The /D switch doesn't seem to work - xcopy just copies all the files
anyway, even if they are already on the destination disk with the same
timestamp.

I have successfully done similar copies with xcopy /D to local disks
or networked disks on remote Windows computers.

Does anyone know what is going on here and what I can do about it?

The drive I'm using is called a Hammer N1200. I have it configured to
use CIFS. It also supports NFS, would that help?
 
O

Ole

I have exactly the same problem with a D-Link DNS-323 Network storage server.
I would love to hear the solution.

Regards
Ole
 
F

flarosa

I switched to using the /M switch instead of the /D switch.

/M is the switch that copies only files with the "archive" attribute
set, and then clears the attribute.

Windows sets the archive attribute on new files and any time a file is
modified, so in theory this should only copy what needs to be copied,
as long as you're only backing up your files to one destination.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

XCopy version needed help 9
XCOPY 2
Invalid Drive Specification 7
Xcopy bugs? 2
XCOPY Bug In "/D" Option 2
XCOPY help 4
xcopy /d date-switch not detected? 2
XCOPY - Insufficient Memory Error 5

Top