Link to home
Start Free TrialLog in
Avatar of CNBELGIN
CNBELGIN

asked on

Robocopy Question.

Hello Guys,

I need to migrate 4TB's of (Enterprise Vault) data from one drive to another. I tried running the following command and after a few hours, I got an "access denied error 0x00000005 system volume" or similar .  Both drives are I-SCSI connected, don't think this matters however the window of opportunity to copy the data is limited, as it is a production server.  

robocopy t:\ v\: /mir

I need the command to copy all remaining data from T to V without duplicating/over-writing the data and avoiding the permission error.

Thanks in advance,
SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CNBELGIN
CNBELGIN

ASKER

thanks for responding, I forgot to mention that the error also says "waiting 30 seconds" and repeats this over and over.  What should I do?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Correct. The /r:0 will ignore errors, but that includes locked files (in use), and hence should not be used with the final copy. I usually allow for 2 retries and 5 seconds waiting time to allow for temporary issues.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I might also suggest you look at Beyond Compare. It works similar to Robocopy, but is a GUI solution. You can set it to show/copy only the files that are different and why they are different. I have found it gives me a better perspective on how much has to be done.

I am not connected to the product in any way, it just sounds like something that might help accomplish what you are doing.
Hello All,

Thanks for all this great information, i will try again on the weekend. If i use the below option will permissions be copied over as well? The data is archived email, i would like it to remain unchanged after being copied.

Are you aware that even with /mir, you are not copying permissions?

robocopy.exe T:\ V:\ /MIR /NP /R:0 /MT:16 /DCOPY:T /XD "System Volume Information" "$Recycle.Bin" /LOG+:robo_log1.log
No, this will not copy permissions. The question is: do you need to copy the NTFS permissions from the source files to the target files, along with the file contents?
The truth is i'm not entirely sure, but i need the data to be like it is now. Users need to access the data VIA outlook.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial