User Tools

Site Tools


comphelp:backups:robocopy

Backup Solutions: Robocopy

Robocopy is a utility provided by Microsoft that can backup files, folders, and entire disks. It is a command line utility that works nicely with batch scripting (.bat). You can find more information about the various settings here: https://technet.microsoft.com/en-us/library/cc733145.aspx

Examples

In each of these examples we are backing up something on the D drive to an external/remote/USB F drive.

  • Single File - note that the file name goes at the end of the command:
    robocopy D:\D--Temp\ F:\ test.txt
  • Directory:
    robocopy D:\D--Users\geo-user F:\PC-backups /e
  • Disk:
    robocopy D: F:\PC-backups-complete /e
comphelp/backups/robocopy.txt · Last modified: 2017/07/31 19:07 by essach