I need to utilize robocopy to mirror files and folders from one shared location to another shared location, in restartable backup mode with security permissions.
My current command is:
robocopy //sourceServer/src //destinationServer/dest /E /XO /Z /R:5 /W:30 /MIR
I am planning to use /zb and /SEC flags, for which the user has to be given the following privileges:
Manage auditing and security log SeSecurityPrivilege
Backup files and directories SeBackupPrivilege
The user using which the command will be executed has R/W permissions on both the shared drives, what I need to know is do I need to give the above mentioined privileges to my user:
- on the source machine
- on the destination machine
- on the client machine where I am executing this cmd.
- on all the machines