The Real (and Virtual) Adventures of Nathan the IT Guy

Mar 24 2011   11:32AM GMT

Server 2008 R2 Robocopy New Features

Nathan Simon Nathan Simon Profile: Nathan Simon

Robocopy has been around for a long time, but there are 2 switches that you want to start incorporating into your scripts, they are /ZB and /DCOPY:T

/ZB :: use restartable mode; if access denied use Backup mode. When you use the /ZB option, this command uses Restart mode. If access is denied, this command uses Backup mode. Therefore, a user account in the Backup Operators group on a computer can run the command successfully.

/DCOPY:T :: COPY Directory Timestamps.This command will make sure that all timestamps for folders is retained, having archive folders with dates that do not make sense, will most definitely confuse the average end-user.

Adding these two switches to your existing scripts will help you migrate files and folders with confidence.

Good Luck!

-NS

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: