
It also backs up all the subdirectories even empty folders. *Note if you want to copy all the changes & deletions in the source directory as well, add /mir after the command. If you add or modify files in source directory later and run Robocopy again, the changed and newly added files will be synchronized to the destination. Input the command and press Enter key to run the first-time backup.Ĭheck the target directory, you’ll find the files have been backed up successfully. Press the Win+R key to open the “Run” window. How to do an incremental backup with Robocopy on regular basis:ġ. To explain it further, I’ll give an example to backup files from C:\test to D:\test. Of course, you could enrich your Robocopy incremental backup script with practical switches. Open CMD and input this command, your files in source folder will be copied to the destination folder. Otherwise you could also use a backup tool with recovery options to avoid this situation.įirst of all, the basic command of robocopy is: robocopy If you don’t mind about it, keep reading and follow the steps to do incremental backup with Robocopy. That is to say, if you accidentally delete or modify something and run the backup unknowingly, these mistakes will be synchronized to the target directory, and you cannot retrieve any of the older copies. It cannot copy open files or live operating system volume The operation isn’t intuitive enough for users who are used to GUI software And most of all, Robocopy won’t keep different versions of the source data nor provide image recovery. There are some drawbacks about Robocopy, of course. With some parameters or the help of Windows Task Scheduler, you could even perform Robocopy incremental copy automatically with a schedule. So in a broad sense, you can use Robocopy to do incremental backup and therefore save your time & space. When you use Robocopy to backup files, it actually creates an intact copy at the first time, and sync only changed files to target directory from the second time. It functionally replaces Xcopy with more options, like mirroring, monitoring, retry when error occurs, etc. What is Robocopy? Robocopy (Robust File Copy) is a command-line for file replication since Windows Vista and Windows Server 2008. How to do scheduled incremental backup with recovery option Steps to perform Robocopy incremental backup on a regular basis

Can you use Robocopy to do an incremental backup?
