• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3321
  • Last Modified:

Error 5 Creating Destination Directory using robocopy

I am trying to get robocopy to work.

The syntax is simple
robocopy \\server\data \\backupsever\G /MIR

Doing this i get an Error 5 creating destination directory. I have also tried /B which gets me an Error 5 access denied.

Running as Domain Admin all rights to all folders and drivers are full control.

Any ideas?
0
DAMAdmin
Asked:
DAMAdmin
  • 2
1 Solution
 
YogalingamCommented:
Robocopy needs to "log on as a service" it should be granted "Adminstrator
Rights" to log on as a service for any areas that you want to backup.  In
some cases this would be the equivalent of a Domain Admin with rights to log
on as a service.

http://www.mcse.ms/message695881.html
0
 
YogalingamCommented:
0
 
oBdACommented:
"G" seems like a manually added share (or was that a typo?); have you checked the *share* permissions for this share? W2k3 default when creating a new share is Read Only for Everyone; make sure you give Everyone Full Access for the share permissions, do the access restrictions with NTFS.
0
 
DAMAdminAuthor Commented:
Thanks for the synctoy tip that is one great little program, does exactly what i needed.
0
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.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now