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

asked on

Help with Robocopy switches following Home Folders migration failure

Hi,

I am currently migrating our users home folders from a 2008r2 file server to a new server 2012r2 file server.

This is all going nicely to plan with the migration being done via a folder redirection GPO which triggers the next time the user logs on.

However, I have had one user where the migration looks like it has failed half way through.  This has left some of their files on the new server and some of them on the old server.  I suspect we might get a couple more during this process so want to prepare a robocopy script.

As permissions are quite hard to manually change on these home folders without changing owners or breaking inheritance etc, I would like to have a backup robocopy command to manually move the remaining files to the new server without losing anything.

Which robocopy switches should I use to copy the remaining files/folder from the old server to the new server, whilst maintaining all the same permissions and also ensuring that I dont overwrite anything?

Please also bear in mind that it looks like the folder structure has been copied first, so there are duplicates of folders on the old/new server but some files within these folders have been migrated and some have been left behind.
Avatar of fieldj
fieldj
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

Also, to make things even more confusing it looks like some of the files have been copied and duplicated.

So I also need the script to merge everything.  Urgh, what a mess!
Avatar of Shaun Vermaak
Add /XO to your original RoboCopy command. It will prevent RoboCopy from overwriting files on target that have been changed
ASKER CERTIFIED SOLUTION
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

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