Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ERROR : You do not have the Manage Auditing user right.
- ***** You need this to copy auditing information (/COPY:U or /COPYALL).
- Add-Content E:ITSCopyScriptsbox1-backup-robocopy.log "script running"
- #Input the variables for the robocopy script
- $Source = "\box1-prodimagesprod"
- $Destination = "E:Box1Backupsimages"
- $Retries = 1
- #This is the Robocopy script
- Robocopy.exe $Source $Destination /E /Z /COPYALL /XO /r:$Retries /purge /xd '$RECYCLE.BIN' 'System Volume Information' '._nfs' /log:E:ITSCopyScriptsbox1-backup-robocopy.log /tee
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement