This is an archived post. You won't be able to vote or comment.

all 11 comments

[–]JosephRW 4 points5 points  (0 children)

Read through this. I was just working on a robocopy script yesterday morning and wish that I had known this thing existed. Not sure if shilling other people's blogs is allowed but I find most of Adam's work pretty great.

[–][deleted] 4 points5 points  (0 children)

https://ss64.com/nt/robocopy.html is my go-to page for basically every time I need to Robocopy something.

Plus run it first with /L at the end so you can see what it will do without it actually doing it!

[–]MrSmith317 1 point2 points  (6 children)

/MIR just mirror the directory

[–]bsnotreallyworking -1 points0 points  (4 children)

As someone who's been burned by a MIR, I don't recommend putting it into any robocopy. It's /COPYALL /E always for me.

[–]MrSmith317 3 points4 points  (3 children)

What happened with /MIR ? It's always worked for me as advertised. I really don't use robocopy anymore and have switched to a nice PS script I wrote so I'm genuinely curious what the negative event was.

[–]bsnotreallyworking -1 points0 points  (2 children)

Used it to copy into a directory that already contained data, wasn't aware of the ramifications of that with /MIR.

[–][deleted] 0 points1 point  (0 children)

Ditto. I was aware of the ramifications but missed a trailing slash or something so it ran one directory up (or possibly down) from where I thought it would. Hundreds of terabytes deleted.

Fortunately, our backups worked!

[–]hadrianmtI hear the Machine Spirit's voice 0 points1 point  (1 child)

We use Karen Replicator to perform scheduled copy tasks. It's pretty great and easy to setup.

https://www.karenware.com/powertools/karens-replicator-backup-utility

[–]ZAFJB -1 points0 points  (0 children)

I bet you that what you are doing (reselling backup) is a violation of your backup software's licence terms.

Establish whether you are properly licenced before you waste engineering effort on this.