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?

Cheers!
LVL 2
piedthepiperAsked:
Who is Participating?
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.

NVITCommented:
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:
1

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
0
piedthepiperAuthor Commented:
If I am using /COPYALL would I still need /DCOPY:T ?
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

QlemoBatchelor, Developer and EE Topic AdvisorCommented:
Yes.  /COPYALL does not fix the folder timestamps.
1
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
0
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
0
QlemoBatchelor, 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" ;-).
1
piedthepiperAuthor Commented:
Yes I did, I thought they were all 2008 R2 clearly I was wrong only some were!
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.