Categories:
  🠪  General

Email
  🠪  Servers
  🠪  Testing
  🠪  Tips

Hardware
  🠪  3D Printing
  🠪  Apple
  🠪  Batteries
  🠪  Drives
  🠪  Edgerouter
  🠪  Electronics
  🠪  Laptop
  🠪  Modems
  🠪  Phone
  🠪  Printers
  🠪  Raspberry Pi
  🠪  Tablets
  🠪  Testing
  🠪  Virtualization

hidden
  🠪  General

Links
  🠪  Interesting
  🠪  Media

Network
  🠪  Data
  🠪  Testing
  🠪  VPN

Scripts
  🠪  Batch
  🠪  Linux
  🠪  Powershell

Servers
  🠪  Databases
  🠪  Misc
  🠪  Website

Software
  🠪  Other

Utilities
  🠪  Backup
  🠪  Fix Issues
  🠪  Recovery

Video
  🠪  Editing

Websites
  🠪  HTML
  🠪  Testing

Windows
  🠪  Adjustments
  🠪  Issues
  🠪  Remote Desktop
  🠪  Security
  🠪  Slow
  🠪  Software
  🠪  Startup

Submit Entry
Airin's Notes

Category: Scripts 🠪 Batch
Robocopy
November 27, 2023

This page explains options quite well:
https://superuser.com/questions/814102/robocopy-command-to-do-an-incremental-backup

Copy folder modified date
/DCOPY:T

Copy in Backup mode, which copies all files, and bypasses many permission issues
/b

Backup Onedrive quickly
robocopy /mir /xj /w:0 /r:0 "C:\Users\user\OneDrive" "Z:\OnedriveBackup\Onedrive" /copyall /LOG:C:\Users\user\onedrive.txt /mt

Move files from one folder to another. This basically just moves all files from source to destination, but will not delete any files in destination. You can use this to periodically move all files in Source, and they will collect in Destination.
robocopy /S /E /DCOPY:DA /COPY:DAT /MOVE /XJ /R:0 /MT "C:\Source" "C:\Destination"





This site is meant to be used as a reference for myself, although others may find it useful. I use it to keep track of certain fixes, software, and other solutions which I may need while assisting customers. The page layout is pure HTML/CSS and is kept simple to optimize loading time and fast results.

Return to Airin's Computers