Last Updated: February 25, 2016
· nantunes

Avoid robocopy infinite loop with /XJ

Don't forget /XJ (exclude junctions) when backing up your windows user data with robocopy... Or else you'll enter an infinite loop.

(if using /MIR, the junction point won't be followed, but it is copied pointing to the original source... other bad thing)

1 Response
Add your response

I've used robocopy C:\Users F:\Users /E /R:0 /DCOPY:T /XJ

over 1 year ago ·