Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP! xcopy problem

Status
Not open for further replies.

banctec

Programmer
Jun 3, 2003
3
0
0
GB
Hi,

This is a simple problem.

I have a drive G: containing about c. 2.5 million folders arranged in a tree structure. I have c. 7 million files in these folders.

For various reasons the disks on the Compaq NT/4 server need to be re-organised. I need to copy all files from G: to a new drive M:

I use NT Cluster Administrator.

I ran a no. of scripts that performed xcopy of folders/files from G: to M:

Unfortunately, I find that a percentage (.5%) of the files do not always copy. Any ideas? The TIF files are c. 1K in size.

Thanks.
 
this would seem to be a really, really large system... are you certain NT can handle that many files and folders? are you pulling our collective legs?

Can you describe how these files and folders were created and a little bit about how they're used?

Who knows? maybe I can learn...

JTB
Senior Infrastructure Specialist
MCSE-NT4, MCP+I, MCP-W2K, CCNA, CCDA,
CTE, MCIWD, i-Net+, Network+
(MCSE-W2K in progress)
 
What are the switches you're using when starting the xcopy? i.e. xcopy g: m: /h the forward slash h forces xcopy to copy HIDDEN and SYSTEM files.

Is there anything that the files that do NOT come across have in common?

 
Here is a little batchfile I use for that purpose.
You can either make it manual or automatic.
My users, and myself, prefer the manual way, but that's each choice.
For manual, put a shortcut on the desktop.

This one assumes all data is in 'C:\My Documents' and all folders below. You can modify or add paths as you please, as well as the accompanying text messages.
-------------------------------
@echo off
c:
cdcd\mydocu~1
@echo on
@echo.
@echo.
@echo. Close all Applications.
@echo.
@echo. Press any key to start the backup.
@echo.
@echo.
@pause>nul
@cls
@xcopy *.* /i/d/f/h/r/k/s/e/v D:\Backup
@echo.
@echo.
@echo. All recently modified data copied.
@echo.
@echo. Your backup can be found in D:\Backup
@echo.
@echo.
@echo.
@echo. Press any key to finish.
@echo.

@pause>nul


Marc
[sub]If 'something' 'somewhere' gives 'some' error, expect random guesses or no replies at all. Please specify details.
Free Tip: The F1 Key does NOT destroy your PC!
[/sub]
 
You might want to try using robocopy. It is part of the Microsoft NT 4.0 resource kit. It is a command line utility that works much faster and much more reliable than xcopy. I have used it to move many Gig's worth of data numerous time without incident.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top