Quick Robocopy question 2008 R2

I am wanting to copy everything from B: to F: and keeping all timestamps creation dates modified dates etc. Is this the correct command?

Run as administrator:

robocopy B: F: /E /SEC /COPYALL /DCOPY:T /R:5 /W:30 /LOG:C:\RESULTS.TXT

E = Everything including sub-folders and empty folders
SEC = Copies all security/permission info
COPYALL = copies everything
DCOPY:T = keeps original time stamps etc
R = number of retries
W = wait between retries in seconds
LOG = text log file to see how its going

Anything I am missing anything?

Who is Participating?

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

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.

NVITEnd-user supportCommented:
No need /SEC.
/COPYALL should do it.

Also... If the target F: is not blank, i.e. has existing files, consider using /MIR if you want to match the source B:

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
piedthepiperAuthor Commented:
I will use this tomorrow and report back!

It like 3TB of data hahah
piedthepiperAuthor Commented:
If I am using /COPYALL would I still need /DCOPY:T ?
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Yes.  /COPYALL does not fix the folder timestamps.
piedthepiperAuthor Commented:
ERROR : Invalid Parameter #5 : "/DCOPY:T" is the error I am getting?

Its because I am doing this in a 2003 box and using he older version of robocopy I assume!

I will try it on a 2008 r2 box soon
piedthepiperAuthor Commented:
Both helped me with this and I would like to award points accordingly

Everything worked as it should! /DCOPY:T works in 2008 but not 2003
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
You only need the new RoboCopy, it runs on W2003 too. And please note that you explicitely stated "2008 R2" ;-).
piedthepiperAuthor Commented:
Yes I did, I thought they were all 2008 R2 clearly I was wrong only some were!
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.