Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to move a large chunk of data from one of our servers onto an external drive for delivery to Amazon glacier storage.

To do that, I'd like to copy a chunk of the server, preserving the directory structure. I.e. move this:

\\MyServer\Some\Longwinded\Path\TheDataIWantToCopy
\\MyServer\Some\Longwinded\Path\TheDataIWantToCopy\First bit of data\DataFile1.dat

to this:

D:\
D:\First bit of data\DataFile1.dat
share|improve this question
    
Use some sort of Sync Tools? (SyncBack is free) –  Darius Nov 6 '13 at 9:33

2 Answers 2

You could use Windows Explorer to copy directories.

If you prefer command line, then xcopy should work:

xcopy \\MyServer\Some\Longwinded\Path\TheDataIWantToCopy D: /S

I am Linux guy myself and prefer Linux tools like rsync, and there is rsync UI compiled for Windows called grsync which may work even better because it is restartable (it would not copy files that already have been copied).

share|improve this answer

For moving large amounts of files or even small amounts that take a long time on Windows the robocopy command works well. Has options that let you resume a copy that got interrupted somehow or copy a few files that got added since the last copy without redoing all the files.

To mirror the directories and files from the source to destination use the below. Mirror will delete and add files as needed so can be re-run when only some files were missed, some changed or some were removed etc without copying everything again like xcopy would.

robocopy \\MyServer\Some\Longwinded\Path\TheDataIWantToCopy D:\ /MIR
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.