[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 794
  • Last Modified:

Robocopy

Trying to copy Data from a server drive to a Lacie d2 Safe external hard drive. Getting the following error message on some of the shares ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory C:\Downloads\temp
Access is denied.  
robocopy C:\ D:\ /MIR /SEC /COPYALL /E /V /ETA /NP /LOG:C:\offsitebackup4_14.txt /B

Open in new window

0
vferreira71
Asked:
vferreira71
  • 4
  • 3
  • 2
2 Solutions
 
oBdACommented:
When you're copying security information, you have to have *full* Control over the *entire* folder tree, otherwise you won't be able to set the permissions after the folder/file is created.
As far as your robocopy parameters are concerned: there's no need to use /sec as well as /copyall; /copyall (/copy:datsou) includes /sec (/copy:dats).
0
 
Kieran_BurnsCommented:
Just to cover the obvious - you HAVE got the external drive formatted with NTFS haven't you?
0
 
vferreira71Author Commented:
The drive is formatted with NTFS.
Getting the following error message:
2009/04/20 14:18:11 ERROR 32 (0x00000020) Copying File H:\System Volume Information\{3808876b-c176-4e48-b7ae-04046e6cc752}
The process cannot access the file because it is being used by another process.

Waiting 30 seconds... Retrying...

It seems to be getting stuck at this point. Any ideas?
0
Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

 
oBdACommented:
You can either exclude system volume information (/xd "H:\System Volume Information"), or change the default /r (retry) and /w (wait) values to something more sensible in a LAN (/r:2 /w:1). The former is probably the better choice, because you won't have errors of files you can't copy anyway.
0
 
vferreira71Author Commented:
Below is the command I am running now.
robocopy H:\ E:\ /MIR /COPY:DATSO /E /V /ETA /NP /XD "H:\System Volume Information" H:\found.000 H:\RECYCLER /LOG:C:\offsitebackup4_16.txt /ZB /R:1 /W:1

Open in new window

0
 
vferreira71Author Commented:

robocopy H:\ E:\ /MIR /COPY:DATSO /E /V /ETA /NP /XD "H:\System Volume Information" "H:\found.000" "H:\RECYCLER" /LOG:C:\offsitebackup4_16.txt 
 
I removed the /ZB switch to see if it helped and still no luck. Added the double quotes to the rest of the files that I wanted to exclude from the backup.

Open in new window

0
 
oBdACommented:
Pplease post the error(s) you're getting, "still no luck" isn't enough to debug on.
Note that /xd will e*X*clude *D*irectories; if found.000 is a file, you'd need /xf. You might want to check robocopy.doc in the Resource Kit installation folder, it's a very useful documentation.
0
 
vferreira71Author Commented:
Getting the following error message:
2009/04/20 14:18:11 ERROR 32 (0x00000020) Copying File H:\System Volume Information\{3808876b-c176-4e48-b7ae-04046e6cc752}
The process cannot access the file because it is being used by another process.

Waiting 30 seconds... Retrying...  

found.000 is a directory.
0
 
Kieran_BurnsCommented:
The solution here: http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_23130315.html
 
states:
Use the complete path, and stay away from the short names:
robocopy e:\ f:\installs\ /E /XD "E:\System Volume Information"
Does that work for you? (note the " " around the directory name)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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