I use the /copyall option to copy all file attributes (security etc). You MUST put /R:1 or /R:0 in there or else it will retry infinite times on any file that is in use. I also use /E to include empty directories too.
From: Sam Cayze [mailto:[email protected]] Sent: Friday, October 15, 2010 4:20 PM To: NT System Admin Issues Subject: EXTERNAL:RoboCopy - please verify my syntax? Cloning a hard drive with permissions in order to speed up a P2V migration on a server with a 250GB D: Drive I'm cloning the D: disk ahead of time to a VMDK, so that when it comes to the P2V Process, I can just do the C: Drive - saving a ton of downtime. I'm doing this while files on the D: Drive are in use, so obviously, those will be skipped doing Robocopy. I'm thinking when I am ready to shut down all the services on the source server, I can just re-run my robocopy command to copy any skipped files and update any security changes. Then P2V the source. My command: robocopy D:\ \\Destination\d$\ /mir /sec /secfix /log:C:\RoboCopyLog.log Sound legit? (I'm very new to RoboCopy - always used other programs. Time to get comfortable with it). TIA, Sam ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin
