robocopy with security

31 May

Whew, I finally found the arguments that work for me!

ROBOCOPY e:User Z:User /MIR /SEC /SECFIX /DCOPY:T /R:1 /W:1 /LOG+:E:Robocopylog.txt /TEE
/MIR ans /SEC- Mirrors the directories keeping the file and directory permissions
/DCOPY:T - Keeps the folder timestamps
/R:1 /W:1 - Makes one retry and waits one second before retrying
/LOG+:E:Robocopylog.txt /TEE - Makes a log of the operation without overwriting and also displays the status on the cmd window.

Created a bat of the contents and created a Shedules Task. Now it backups my data daily to my NAS!