Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

robocopy /MIR - what does it mean when an "older" file is detected?

Status
Not open for further replies.

wallst32

MIS
Apr 14, 2003
545
US
I'm using robocopy to mirror a shared drive to another location for backups. Nobody has access to the backup location so the files cannot change there.

When running robocopy with the /MIR switch, I noticed that "new" files will get copied to the destination, and "newer" files will overwrite the files in the destination. But I have also noticed a few instances when an "older" file is detected. Does this mean the source file is older than the destination? It would be highly unlikely under my scenario. When an "older" file is detected, how does robocopy handle this?
 
If you are using /MIR then that is supposed to copy anything from the source over to the destination if it does not match.

Typically when I use robocopy I have it exclude older files.

Are you using any other switches besides /MIR?

I hope you find this post helpful.

Regards,

Mark
 
Mark,

I was using only /MIR, now I'm using /MIR /COPYALL.

What is the definition of an "older" file? And what is the resaon you exclude older files?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top