Backups That Work: `robocopy`

robocopy, the copying program that comes with Windows, copies a folder and after that only what changed, mirrors it with /MIR (which deletes from the backup too), rehearses with /L, and ends with an exit code where anything below 8 means success.

Updated

Cheat sheet for the lesson Backups That Work: `robocopy`: robocopy, the copying program that comes with Windows, copies a folder and after that only what changed, mirrors it with /MIR (which deletes from the backup too), rehearses with /L, and ends with an exit code where anything below 8 means…
Category
PowerShell
Level
Journeyman
Tags
backup, dry-run, exit-code, mirror-backup, operating-system, powershell, robocopy