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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to copy user files from one server to another server?

Status
Not open for further replies.

bloomlight

IS-IT--Management
Jun 12, 2006
149
US
We have 2 servers (server-A, server-B). Both servers are running Windows 2003 server as the operating system.

We have an User folder with 60,000 files on server-A. I want to copy the folder with user files from server-A to server-B. In case something happen to the server-A, people can use server-B to access their files. Can I write a batch file and set it to run once a day? What command to use in the batch file, XCOPY? How to set it up? Any help will be appreciated. THANKS.
 
You can use robocopy to copy files in this matter. When we performed server upgrades we would schedule robocopy to copy the files nightly. Subsequent runs would only copy newer or updated files.
 
Thanks. Can I set up for robocopy to run every day after business hours?
 
Hi Bloomlight,

I do a similar thing weekly, copy backuped files from Windows 2003 server to a removable drive.

I havent used robocop, i use the copy or xcopy command in abatch file, then i use the windows scheduler to schedule it.

Here is a link that explains xcopy etc with example.


Hope this helps.

Michael
 
You can run it as part of a scheduled task, but a better solution here would be DFS. DFS would give you a common namespace that would be available if one server was to go down. It provides for realtime syncronization between target folders.

Pat Richard MVP
Plan for performance, and capacity takes care of itself. Plan for capacity, and suffer poor performance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top