• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 545
  • Last Modified:

How to copy changed and new files

Our current Windows 2003 server has over 10 shares that have over 500GB data. We will need to copy the data to our new Windows 2008 server which will take over this weekend.

At this moment, the new server is already on the network but cannot be seen by users yet. The plan is that we copy the data today from old server to new server. On this weekend, new server will take over and the old server will retire, we then run copy again, but only copy the changed and new files from old server to new server.

How would you do this?

Thanks
Jack


0
techcity
Asked:
techcity
  • 3
  • 2
1 Solution
 
Krzysztof PytkoActive Directory EngineerCommented:
All modified and new files have "Archive" attribute set. So, copy only them. Robocopy allows for that (use switch /A in syntax)
Robocopy can be downloaded from
http://www.microsoft.com/download/en/details.aspx?id=17657

Regards,
Krzysztof
0
 
Elwin3Commented:
map a drive letter to each share e.g x: drive to old share andf then n: drive to new share then use xcopy as a administrator.

xcopy x:\*.* n:\ /y /c /e /d
0
 
techcityAuthor Commented:
Thank you both for the prompt comments!!
I think I prefer robocopy which gives logs

iSiek,
When I run robocopy for the first run today, should I use "/COPY:DAT"?


0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Krzysztof PytkoActive Directory EngineerCommented:
/COPY:DAT is a default mode but I wouls suggest for initial process use /COPY;DATSO
Iw ill also copy NTFS permission and owner information of folders/files

Krzysztof
0
 
techcityAuthor Commented:
Thanks iSiek.
During the initial process, will a file's "attribute" be reset automatically?
0
 
Krzysztof PytkoActive Directory EngineerCommented:
I have to say that I don't remember :/
But if you want to keep "Archive" attribute during copy process, add one more switch which sets it up :)

/A+:A

and each copied file will be set up with "Archive" bit.

Krzysztof
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now