Robocopy command syntax for file server migration.

Can someone who has used this before to migrate file servers please comment. Thanks a zillion in advance.
Trying to migrate our user file server from a physical 2008 R2 server to physical 2012 R2 server. Size of drives is the same, etc. and both servers are on the same network/subnet. The structure is as follows.
D: drive has a shared folder called users and within that we have a couple of hundred user folders (by name - no spaces) and in each user folder their is a folder called "data"  and a folder called "profile.V2'. The respective user, domain admins and one service account (for backups) all have full control over each user folder. My intention is to copy everything from \\originalfileserver\d$\users to \\newfileserver\d$\users and maintaining all the NTFS permissions per folder as well as any share permissions. The Robocopy command (based on numerous articles and tests) I am working with and I am running it from the new file server:
robocopy "\\originalfileserver\d$\users" "d:\users" /TEE /LOG+:c:\robolog.txt /MIR /copyall /zb /w:1 /r:2 /E

/E Copy subdirectories, including Empty ones.
/ZB Use restartable mode; if access denied use Backup mode.
/TEE Output to console window, as well as the log file.
/LOG+:file Output status to LOG file (append to existing log).
/R:n Number of Retries on failed copies: default 1 million.
/W:n Wait time between retries: default is 30 seconds.
/MIR MIRror a directory tree (equivalent to /E plus /PURGE).
/COPYALL COPY ALL file info (equivalent to /COPY:DATSOU).

Will this do it? Will this command copy all folders, maintain permissions (Share and Ntfs), output errors to log file, leave original folders untouched on source, allow me to rerun it a day or two later for only changed file copy, etc. Please make suggestions if I missed anything.
Laszlo DenesAsked:
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.

Michael PfisterCommented:
Sometimes had problems copying audit information, I'd use /COPY:DATSO.
Also I'd add /NP so the log file won't be filled with useless progress indication.
0
Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
I just did a SBS2008 to 2016 migration and this is the command I used:

robocopy \\SRV0\F$\DML F:\ServerFolders\DML /E /B /R:3 /COPY:DATSOU /MIR /LOG:C:\Logs\Results-DML.txt
@PAUSE

 Execute this from the destination server.

Jim.
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
Michael PfisterCommented:
Shares/share permissions won't be copied by robocopy, only NTFS.
You'll have to recreate the shares
Any yes just rerun the command to copy the delta only from source to target.
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
Microsoft Access

From novice to tech pro — start learning today.