what are the possible good and efficient ways of transferring files from one server to another? In this case it will be from windows server 2003 to windows server 2008 r2. I am thinking Powershell cmdlets or batch files could be a help here but not sure.
4 Answers
i suggest you use robocopy since it has really nice features such as auto retry when the diskspace is full or when there is a network outage. in your case assuming you have network connection between those 2 machines. robocopy "source" "destination" /(any switch you might add)
robocopy \22.22.222.222\c$\2003\folder \11.11.111.111\c$\2008\folder /E /Z you can check /? for more options it has quite a few.
hope you find this useful good luck.

- 115
- 1
- 5
-
+1 RoboCopy also has a GUI that can make it a bit easier for some users – Dave M Jun 16 '11 at 11:53
-
thanks. I am not aware of its function yet but looks like what I want. so, how can I put the remote server credentials? username and password? – tugberk Jun 16 '11 at 14:41
Based on your edit you would have to "map" the C:\ drive of the second machine as a disk on the first machine (for example, as F:) and then use:
xcopy c:\2003\folder d:\2008\folder /s
If it is just files you want to move you could use a batch file and "xcopy".
xcopy X:\ Y:\ /s
This will copy evrything from X:\ to Y:\ and subdirectories.
You'll "map" the C: drive of the se use xcopy C:\2003\folder C:\200
You could also look at TeraCopy, USB sticks, FTP transfer, burn to disk, move to external HD...

- 2,964
- 8
- 41
- 52
-
ok but how would that xcopy code transfer the files from one to another. let's be more specific here; I wanna transfer files from -**c:\2003\folder** on server whose ip is **11.11.111.111** to c:\2008\folder on server whose ip is **22.22.222.222** – tugberk Jun 16 '11 at 09:41
-
1If you're running this command from a machine other than the two mentioned (you'll need admin access to access the c$ share): xcopy \\11.11.111.111\c$\2003\folder\ \\22.22.222.222\c$\2008\folder\ [any cool options you want] – Nixphoe Jun 16 '11 at 13:06