RoboCopy Fails Copying Data from D Partition of Machine 1 to a UNC (USB Iomega Drive) on Machine 2

I am trying to use RoboCopy Version XP010 to copy data from one XP Pro SP2 machine to another XP Pro SP2 machine over a wireless workgroup. The destination drive is an USB Iomega Ego drive. The user accounts are the same on both machines and are in the Administrators group.

My command is in the "code snippet" box.

RoboCopy successfully copies 27 of 31 folders in my D partition and then I get the following error (taken from the log file):

2007/12/04 22:43:21 ERROR 5 (0x00000005) Copying File D:\System Volume Information\MountPointManagerRemoteDatabase
Access is denied.
Waiting 30 seconds...
ROBOCOPY D:\ *.* \\Dell\Ego\DATA\ /S /XF *.mdf *.ldf /XD "D:\Program Files" "D:\SQL Server" "D:\Temp" /V /LOG:C:\Temp\Robocopy.txt

Open in new window

Who is Participating?
markholahanConnect With a Mentor Author Commented:
Ran this VBScript to see what folders I had:

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFldr = objFSO.GetFolder("D:\")
Set Fldrs = objFldr.SubFolders
For Each Fldr In Fldrs
     WScript.Echo Fldr

Discovered two hidden folders: "D:\System Volume Information" and "D:\RECYCLER". Added these to the RoboCopy folder exclusion list and it worked.
@Echo Off
ROBOCOPY D:\ *.* H:\GatewayDATA\ /S /PURGE /XF *.mdf *.ldf /XD "D:\Program Files" "D:\SQL Server" "D:\System Volume Information" "D:\RECYCLER" /V /LOG:C:\Temp\Robocopy_GatewayData.txt

Open in new window

Closed, 500 points refunded.
Community Support Moderator
All Courses

From novice to tech pro — start learning today.