Solved

Error 5 Creating Destination Directory using robocopy

Posted on 2006-11-10
4
3,119 Views
Last Modified: 2012-08-14
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
Comment
Question by:DAMAdmin
  • 2
4 Comments
 
LVL 5

Expert Comment

by:Yogalingam
ID: 17916711
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
 
LVL 5

Accepted Solution

by:
Yogalingam earned 500 total points
ID: 17916752
0
 
LVL 83

Expert Comment

by:oBdA
ID: 17917036
"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
 
LVL 1

Author Comment

by:DAMAdmin
ID: 17917562
Thanks for the synctoy tip that is one great little program, does exactly what i needed.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Hello I read in a discussion about a person who configured a very simple mirror RAID with two hard drives; the system and data were on the same partition. He asked how to repair the system as it was not booting up anymore. In his case running …
Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now