[Samba] Problem with xcopy /d & samba
Shawn Wright
swright at sls.bc.ca
Thu Mar 27 17:37:47 GMT 2003
A problem has arisen with the way samba handles file
creation dates compared to NT/win2k, which prevents
xcopy /d from working correctly.
On NT/Win2k, files copied from another NT machine using
xcopy end up with the modified dates equal to the original
modified date of the file, and the created and accessed
dates become the date of the xcopy operation.
On Samba, files copied from an NT machine using xcopy
end up with created & modified dates equal to the original
modified date of the file, and the accessed date becomes
the date of the xcopy operation.
Dates are as reported from a windows NT client in both
cases. The problem is that xcopy /d will NOT work as
expected when attempting to use it to only copy newer
files from NT to samba. Instead XCOPY /D will copy *all*
files. This is a problem as we hope to migrate a large # of
files from NT to samba and minimize downtime by using
xcopy /d to refresh any modified files. In this case we will
use a tape backup/restore to handle the modified files, but
it would be nice to know if xcopy can be made to work with
samba in this way?
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Shawn Wright, Systems Manager
Shawnigan Lake School
http://www.sls.bc.ca
swright at sls.bc.ca
More information about the samba
mailing list