Tuesday, March 31, 2009

20090331 - Robocopy parameters

Wanted to copy from a mounted BESR (Backup Exec System Recovery) image. Found that the recovery feature built into BESR is slow and doesn't copy any security info. Copying from the Explorer is the same way. Using the robocopy command from the Windows Resource Kit and it's fast and copies the security with the right parameters.

robocopy E: D: *.* /E /ZB /COPYALL /NP /R:5 /W:15 /LOG:d:\migrate.log

/ZB will copy in restartable mode and if a file is set so that administrator cannot access, it copies in backup mode so it still can copy it. /NP keeps the progress from showing in the log file. /Copyall copies all the security info.

No comments: