Copy windows files and permissions from one server to another?

I need to copy a set of folders from one server to a new server. I would like to keep all permissions and share intact.

Would I do this with xCopy?

Additionally, how do i copy cross machine?

The machine names are DC4 and DC5, I need to copy an entire drive, (D:\)
HADDADD3Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Brad HoweDevOps ManagerCommented:
Hi,

I would you ROBOCOPY with the following switches

robocopy D:\ \\SERVERNAME\D$ /COPYALL /E /R:0 /DCOPY:T

robocopy /? will give you the command line switches. Essentially, this copies everyhitng keeping permissions and date timestamps intact.

Cheers,
Hades666


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SnibborgOwnerCommented:
Best tool for this is robocopy.  This allows you a great deal of flexibility and allows you to see logs of success / failure.

Get it here:

http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en

Snibborg
0
Brad HoweDevOps ManagerCommented:
AS per the custom shares. As long as the drive letters are the same, you can do the following.

Saving and restoring existing Windows shares
http://support.microsoft.com/kb/125996

Make a registry export from server1 and import to server2.

Cheers,
Hades666
0
Darius GhassemCommented:
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
I would test my backups - restore the last full backup and then, if necessary, run robocopy to copy files since the last full backup.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.