Robocopy /MIR

rdwray

Member
Member
Messages
301
Does Robocopy /MIR copy all files or just the ones that are added and those that are changed? I don't want to start this if it is going to take hours and hours. thanks...
 

My Computer

System One

  • OS
    Windows 8 Pro
    System Manufacturer/Model
    Dell Inspiron 1750
    CPU
    Duo Core 2.5 G HZ
Just the changes.
 

My Computer

System One

  • OS
    Windows 7
    System Manufacturer/Model
    Self-Built in July 2009
    CPU
    Intel Q9550 2.83Ghz OC'd to 3.40Ghz
    Motherboard
    Gigabyte GA-EP45-UD3R rev. 1.1, F12 BIOS
    Memory
    8GB G.Skill PI DDR2-800, 4-4-4-12 timings
    Graphics Card(s)
    EVGA 1280MB Nvidia GeForce GTX570
    Sound Card
    Realtek ALC899A 8 channel onboard audio
    Monitor(s) Displays
    23" Acer x233H
    Screen Resolution
    1920x1080
    Hard Drives
    Intel X25-M 80GB Gen 2 SSD
    Western Digital 1TB Caviar Black, 32MB cache. WD1001FALS
    PSU
    Corsair 620HX modular
    Case
    Antec P182
    Cooling
    stock
    Keyboard
    ABS M1 Mechanical
    Mouse
    Logitech G9 Laser Mouse
    Internet Speed
    15/2 cable modem
    Other Info
    Windows and Linux enthusiast. Logitech G35 Headset.
thanks pparks1. I have just started "Robocopy F: \\INSPIRONBACKUP\F_Insp1900 /E /log:F:\Robocopy.log" after some testing and it seems to work. Is this ok?
 

My Computer

System One

  • OS
    Windows 8 Pro
    System Manufacturer/Model
    Dell Inspiron 1750
    CPU
    Duo Core 2.5 G HZ
Just ran into a problem: It tried to copy the Recycle bin and hung, is there a way to bypass an error like this?
 

My Computer

System One

  • OS
    Windows 8 Pro
    System Manufacturer/Model
    Dell Inspiron 1750
    CPU
    Duo Core 2.5 G HZ
What was the source and the destination? You can use xd switch to exclude directories.
 

My Computer

System One

  • OS
    Windows 7
    System Manufacturer/Model
    Self-Built in July 2009
    CPU
    Intel Q9550 2.83Ghz OC'd to 3.40Ghz
    Motherboard
    Gigabyte GA-EP45-UD3R rev. 1.1, F12 BIOS
    Memory
    8GB G.Skill PI DDR2-800, 4-4-4-12 timings
    Graphics Card(s)
    EVGA 1280MB Nvidia GeForce GTX570
    Sound Card
    Realtek ALC899A 8 channel onboard audio
    Monitor(s) Displays
    23" Acer x233H
    Screen Resolution
    1920x1080
    Hard Drives
    Intel X25-M 80GB Gen 2 SSD
    Western Digital 1TB Caviar Black, 32MB cache. WD1001FALS
    PSU
    Corsair 620HX modular
    Case
    Antec P182
    Cooling
    stock
    Keyboard
    ABS M1 Mechanical
    Mouse
    Logitech G9 Laser Mouse
    Internet Speed
    15/2 cable modem
    Other Info
    Windows and Linux enthusiast. Logitech G35 Headset.
Got it: Robocopy F: \\INSPIRONBACKUP\F_Insp1900 /E /XD dirs $RECYCLE.BIN /log:F:\Robocopy.log
 

My Computer

System One

  • OS
    Windows 8 Pro
    System Manufacturer/Model
    Dell Inspiron 1750
    CPU
    Duo Core 2.5 G HZ
After looking through the many options, this is what I ended up with:
Code:
@echo off 
title A better way
color 0a
echo.
echo 1.Backup to spare PC.
echo 2.Back up to spare HDD "N:".
echo 3.Exit
echo.

set /p a=
IF %a%==1 Robocopy F: \\INSPIRONBACKUP\F_Insp1900 /E /XA:SH /R:2 /W:1 /TEE /LOG:F:\Robocopy.log
IF %a%==2 Robocopy F: N: /E /XA:SH /R:2 /W:1 /TEE /log:F:\Robocopy.log
IF %a%==3 Echo Did nothing - Exited...
Pause

Echo off
Rem Copy only changed or new files.
Rem /E = copy subdirectories, including empty one.
Rem XA = exclude files with attributes.
Rem R = number of retries.
Rem W = wait time between retries.
Rem /TEE = output to console window
Rem /LOG= write log file
 

My Computer

System One

  • OS
    Windows 8 Pro
    System Manufacturer/Model
    Dell Inspiron 1750
    CPU
    Duo Core 2.5 G HZ
Back
Top