[Samba] Problem with xcopy /d & samba

Christian.Duclou at eeigm.org Christian.Duclou at eeigm.org
Thu Mar 27 20:40:25 GMT 2003


Hello,
Did you try to drag the files from the Samba Box with something like
smbtar OR smbmount + tar
Probably long but it seems to work.

Surlignage Shawn Wright <swright at sls.bc.ca>:

> 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
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


______________ www.eeigm.inpl-nancy.fr ______________
 EEIGM - 6 rue Bastien LEPAGE - 54000 NANCY - FRANCE
   Phone +33.383.36.83.27     Fax +33.383.36.83.36
_____________________________________________________


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


More information about the samba mailing list