Link to home
Start Free TrialLog in
Avatar of Alex
AlexFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Robocopy

Morning,

So I'm using Robocopy to migrate a file server and i'm consolidating 2 drives into a single volume. However, on the source server I have D:\ and S:\, so I am wondering how I make it copy the security for the folder structure for both D:\ and S:\ and then drop everything onto a new D:\.

So

Server 1 D and S

Server 2 S

I want to refresh the security from both drives onto the single drive, will that work if I just do

robocopy  \\old01\D$\*.* \\new02\D$\*.* /E /ZB /DCOPY:T /COPYALL /R:0 /W:0 /V /TEE /LOG:Robocopy.log

Open in new window


And then


robocopy  \\old01\S$\*.* \\new02\D$\*.* /E /ZB /DCOPY:T /COPYALL /R:0 /W:0 /V /TEE /LOG:Robocopy.log

Open in new window


Whilst leaving the anything that's not changed alone, mainly so it won't take hours again.

Thanks

Alex
SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Alex

ASKER

See that's what I was thinking.

There shouldn't be but I'm just not sure about the risk factor.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Alex

ASKER

I think the risk outweighs the benefit.

Thanks you two
Hi Alex,

Why not create two top level subfolders in the top of the destination - call them D and S (say).

Now RoboCopy D:\ into \\ServerDestination\D\ and S:\ into \\ServerDestination\S\

That way, there cannot be any overlap or issues.

Once there, it should be easy to combine the two, with a standard Windows file manager cut / paste, and it will bring up a dialogue if there are any potential clashes.  At that point you can cancel, resolve, then run again.

Unless you are talking about a lot of clashes (and I would guess you'd know already if that was likely), then it should not work out to be too much hassle, especially for something that is a 'once in many years' task.

Hope that helps,

Alan.