Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Is it safe to use Robocopy /mir on root drive?

05 Feb 2015   #1
0pTicaL

Windows 7 Ultimate x64 SP1
 
 
Is it safe to use Robocopy /mir on root drive?

I am backing up an entire drive to a external hard drive using Robocopy. Is it safe to use /mir on root drives? I've read somewhere that it's not recommended as it copies the hidden folders $RECYCLE.BIN and System Volume Information and may cause issues on the destination drive. Is there anything truth to this or is it just a myth?


My System SpecsSystem Spec
.
05 Feb 2015   #2
ShoTTaS

Windows 7 Pro 32bit
 
 

Hi,

I am not familiar with robocopy, but you can try this link to help you with your issue: https://technet.microsoft.com/en-us/.../ee851678.aspx
My System SpecsSystem Spec
05 Feb 2015   #3
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
 
 

If RoboCopy does copy $RECYCLE.BIN and System Volume Information it will cause problems.
I did it once and learned a lesson, i somehow fixed it without having to re-copy the partition again...

Here is a RC command I now use to exclude (/XD) those directories when copying a HD or partition (D -> F):
robocopy D: F: *.* /E /NP /TEE /R:5 /XD $RECYCLE.BIN "System Volume Information" /LOG:"F:\RobocopyLog.txt"

You can read about the options with this command:
robocopy /?

For me, Windows automatically rebuilt these directories correctly, after the copy.
My System SpecsSystem Spec
.

05 Feb 2015   #4
0pTicaL

Windows 7 Ultimate x64 SP1
 
 

Quote   Quote: Originally Posted by DavidE View Post
If RoboCopy does copy $RECYCLE.BIN and System Volume Information it will cause problems.
I did it once and learned a lesson, i somehow fixed it without having to re-copy the partition again...

Here is a RC command I now use to exclude (/XD) those directories when copying a HD or partition (D -> F):
robocopy D: F: *.* /E /NP /TEE /R:5 /XD $RECYCLE.BIN "System Volume Information" /LOG:"F:\RobocopyLog.txt"

You can read about the options with this command:
robocopy /?

For me, Windows automatically rebuilt these directories correctly, after the copy.
Thanks! I remember reading it somewhere that it does cause problems. Recopying the entire drive again with the /XD command, copying 3TB+ is a pain
My System SpecsSystem Spec
05 Feb 2015   #5
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
 
 

Quote   Quote: Originally Posted by 0pTicaL View Post
Thanks! I remember reading it somewhere that it does cause problems. Recopying the entire drive again with the /XD command, copying 3TB+ is a pain
I understand your pain, i was there

I probably used this tutorial by Brink to fix the Recycle Bin:
Recycle Bin Corrupted - Cannot Delete File or Folder

I'll see if I can find how i fixed the System Volume Information problem ...
If I do, i'll post back with that info ...
My System SpecsSystem Spec
05 Feb 2015   #6
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
 
 

After you use the tutorial to fix the recycle bin, run a System File Check and a Check Disk on the external drive.

SFC /SCANNOW Command - System File Checker
Disk Check
My System SpecsSystem Spec
05 Feb 2015   #7
0pTicaL

Windows 7 Ultimate x64 SP1
 
 

Thanks DavidE! I'll keep that in mind next time. Since I'm about to go to bed the copy process should be done by the time I wake up (8hrs+).
My System SpecsSystem Spec
05 Feb 2015   #8
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
 
 

You're welcome.
Yea, that should work ...
I remember doing the same thing, and i was stubborn and wanted to fix it without a re-copy.
I didn't keep good enough notes on how to fix it, but i learned to ALWAYS use the /XD option
My System SpecsSystem Spec
05 Feb 2015   #9
0pTicaL

Windows 7 Ultimate x64 SP1
 
 

Yeah, I made a note to use /XD from now on whenever I /MIR the root drive. It's one of those things where I kept thinking, "wait, I think I missed something here, what was it…"
My System SpecsSystem Spec
Reply

 Is it safe to use Robocopy /mir on root drive?




Thread Tools




Similar help and support threads
Thread Forum
Robocopy drive excepet a file type and directory
Would this be the right command to transfer all files except rar files and a directory robocopy f:*.* d: /ef *.rar /ed d:/music Will this command work
Backup and Restore
Unable to map drive to, or create folder on root of, SMBA drive.
I have a 2 TB HDD attached to my RT-n66u router. The drive is accessible through network neighborhood and I can even type "\\(name)" into explorer and it will open fine. The trouble is when I attempt to map it as a network drive. I get "Windows cannot access \\(name)". In addition, when I am...
Network & Sharing
Attempting .bat Robocopy to USB drive, various errors
Apologies if the solution is found in another thread, but I have been unable to solve my problem so far. I'm attempting to use Task Scheduler, to backup a folder of my projects to a 1 Tb USB drive via robocopy. I've been at this off and on for several days now, and I have had varying degrees of...
Backup and Restore
Robocopy does not mirror folder on USB external drive.
I am using robocopy to mirror folder as a backup, using the /mir command, it does work on my home server, but on my external drive it wont do anything with certain folders, even if they were drastically changed on the source. I have tried changing the owner of the folder and basically allowing...
Backup and Restore
Root of C - Safe to Delete?
Is it OK to delete all this stuff> I think it is from installing programs.
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 14:59.
Twitter Facebook Google+