Robocopy not copying My Document files

CC123

New member
Local time
1:14 PM
Messages
33
Hi, I just started using Robocopy to backup my files to my JBOD recently and I noticed that it does not copy anything in My Document folder. Here is the result log for Robocopy regarding the backup.
------------------------------------------------------------------------------

Total Copied Skipped Mismatch FAILED Extras
Dirs : 4287 0 4287 0 0 0
Files : 34164 22831 11333 0 0 0
Bytes : 107.783 g 90.408 g 17.375 g 0 0 0
Times : 20:32:46 2:02:26 0:00:00 0:15:26

Ended : Mon Sep 08 02:58:21 2014

-------------------------------------------------------------------------------
Even though it says that it copied 22831 files the destination folder says it has not been modified at all.

274a2e401e.png


The strange thing is that when I was checking back on the progress in the cmd window, it showed that it was copying files. The problem is I have no idea where those files went, the files that were supposedly copied aren't there at all. Here is the script I used to back up my files.

robocopy F:\Anime G:\Anime /mir /copyall /np /tee /mt /log:"C:\Users\C.C\Desktop\my_backup_log.txt"

robocopy "E:\Disk Backups" "G:\Disk Backups" /mir /copyall /np /tee /mt /log+:"C:\Users\C.C\Desktop\my_backup_log.txt"

robocopy E:\Downloads G:\Downloads /mir /copyall /np /tee /mt /log+:"C:\Users\C.C\Desktop\my_backup_log.txt"

robocopy E:\Movie G:\Movie /mir /copyall /np /tee /mt /log+:"C:\Users\C.C\Desktop\my_backup_log.txt"

robocopy "C:\Users\C.C\My Documents" "G:\My Documents" /mir /copyall /np /tee /mt /log+:"C:\Users\C.C\Desktop\my_backup_log.txt"

robocopy E:\Text G:\Text /mir /copyall /np /tee /mt /log+:"C:\Users\C.C\Desktop\my_backup_log.txt"

pause
The other folders seem to have been mirrored correctly, it's just the My Documents folder that is having this issue.

Edit - I tried deleting the folder I currently had on the backup disk and ran robocopy again. It skipped right through the document script. It seems like it's saving somewhere but I don't know where. Here is the result.

------------------------------------------------------------------------------

Total Copied Skipped Mismatch FAILED Extras
Dirs : 4287 0 4287 0 0 0
Files : 34163 0 34163 0 0 0
Bytes : 107.783 g 0 107.783 g 0 0 0
Times : 0:03:11 0:00:00 0:00:00 0:03:11

Ended : Mon Sep 08 09:51:19 2014

-------------------------------------------------------------------------------
 
Last edited:

My Computer

OS
Microsoft Windows 7 Home Premium 64-bit 1-Pack for System Builders - OEM
CPU
AMD Phenom II X6 1055T Thuban 2.8GHz Socket AM3 125W Six-Cor
Motherboard
ASUS M4A88TD-M/USB3 AM3 AMD 880G SATA 6Gb/s USB 3.0 HDMI Mic
Memory
Kingston ValueRAM 4GB (2 x 2GB) 240-Pin DDR3 SDRAM DDR3 1333
Graphics Card(s)
SAPPHIRE 100314SR Radeon HD 6870 1GB 256-bit GDDR5 PCI Expre
Sound Card
ASUS Xonar DX 7.1 Channels PCI Express x1 Interface Sound Ca
Monitor(s) Displays
DELL E173FP
Hard Drives
SAMSUNG Spinpoint F3 HD103SJ 1TB 7200 RPM SATA 3.0Gb/s 3.5" Internal Hard Drive -Bare Drive
PSU
CORSAIR CMPSU-650TX 650W ATX12V / EPS12V SLI Ready CrossFire
Case
Antec Three Hundred Illusion Black Steel ATX Mid Tower Compu

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Own build (new) Desk1 / Asus ROG Win 7 / Desk2 1st build
OS
Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
CPU
Desk1 i5 3750K / Laptop i7 GTX 860M / Desk2 i5 2500
Motherboard
Desk1 Asus P877-V / Desk2 Gigabyte H67 UD3H / Laptop ?
Memory
Desk1 8GB (1866) / Desk2 16GB (1333) / Laptop 8Gb DDR3
Graphics Card(s)
Desk 1& 2NVidia GTX 650 & Laptops on board Intel
Sound Card
Desk 1 & 2 -XONAR DG Realtek High Def audio Laptop
Monitor(s) Displays
Desk 1 Benq HD 2450 / Desk2 Philips 24" / Laptop 17.5"
Screen Resolution
1920x1080 D1 & D2 & Laptop 1
Hard Drives
Desk1 Samsung 120GB 830 SSD
Asus ROG 256GB 850 Pro SSD
Desk2 Samsung 840 256 SSD
Toshiba 120GB EVO
PSU
Desk 1 Corsair HX 1050/ Laptop ? / Desk 2 Corsair HX 650
Case
Desk 1 Cooler HAF XM ? Toshiba laptop / Desk2 Coolermaster
Cooling
Fans on all Desk1 -2 Desk2 - all Coolermasters 5 Laptop ?
Keyboard
Desk 1 MS Sidewinder X6 Desk 2 MS Sidewinder X 4
Mouse
Desk 1&2 - Gigabyte MS 900 gamer - laptop - Logitec wireless
Internet Speed
ADSL2+
Other Info
One other Desktop (tester) and spare Toshba laptop both with SSD's
Running Kaspersky 2016 ISS on all machines config'd identically
Logitec audio stereo systems on each machine (x3)
Canon MG5250MFC
Router/modem TP-Link running WPA2SK
I've tried using macrium before but it just doesn't fit my needs. I don't need a whole image of my computer, but rather just certain directories I know I want to keep safe.
 

My Computer

OS
Microsoft Windows 7 Home Premium 64-bit 1-Pack for System Builders - OEM
CPU
AMD Phenom II X6 1055T Thuban 2.8GHz Socket AM3 125W Six-Cor
Motherboard
ASUS M4A88TD-M/USB3 AM3 AMD 880G SATA 6Gb/s USB 3.0 HDMI Mic
Memory
Kingston ValueRAM 4GB (2 x 2GB) 240-Pin DDR3 SDRAM DDR3 1333
Graphics Card(s)
SAPPHIRE 100314SR Radeon HD 6870 1GB 256-bit GDDR5 PCI Expre
Sound Card
ASUS Xonar DX 7.1 Channels PCI Express x1 Interface Sound Ca
Monitor(s) Displays
DELL E173FP
Hard Drives
SAMSUNG Spinpoint F3 HD103SJ 1TB 7200 RPM SATA 3.0Gb/s 3.5" Internal Hard Drive -Bare Drive
PSU
CORSAIR CMPSU-650TX 650W ATX12V / EPS12V SLI Ready CrossFire
Case
Antec Three Hundred Illusion Black Steel ATX Mid Tower Compu
Have you tried with only Documents instead of "My Documents"? That's what you see if you open a command prompt in your user folder and run a dir.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Elitebook 8540p
OS
Windows 7 Pro 32
CPU
Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz
Motherboard
Hewlett-Packard 1521
Memory
4,00 GB (Usable 2,98)
Graphics Card(s)
NVIDIA NVS 5100M
Sound Card
NVIDIA High Definition Audio
Screen Resolution
1600x900
Hard Drives
INTEL SSDSA2CW120G3
Antivirus
F-Secure Internet Security
Browser
IE, Firefox, Opera
Other Info
Sandboxie,
SRP (Software Restriction Policy),
EMET (Enhanced Mitigation Experience Toolkit),
WFC (Windows Firewall Control by BiniSoft),
Malwarebytes Premium
Have you tried with only Documents instead of "My Documents"? That's what you see if you open a command prompt in your user folder and run a dir.

That doesn't work either, it started copying to a folder called Documents. I did find out where it started saving the files though.

cd21d3aed8.png


For some reason it created the My Documents and Documents directories which can only be seen through cmd with dir /a. I tried removing but I'm getting a "The directory is not empty" error. Anyone know a way to get rid of them?
 

My Computer

OS
Microsoft Windows 7 Home Premium 64-bit 1-Pack for System Builders - OEM
CPU
AMD Phenom II X6 1055T Thuban 2.8GHz Socket AM3 125W Six-Cor
Motherboard
ASUS M4A88TD-M/USB3 AM3 AMD 880G SATA 6Gb/s USB 3.0 HDMI Mic
Memory
Kingston ValueRAM 4GB (2 x 2GB) 240-Pin DDR3 SDRAM DDR3 1333
Graphics Card(s)
SAPPHIRE 100314SR Radeon HD 6870 1GB 256-bit GDDR5 PCI Expre
Sound Card
ASUS Xonar DX 7.1 Channels PCI Express x1 Interface Sound Ca
Monitor(s) Displays
DELL E173FP
Hard Drives
SAMSUNG Spinpoint F3 HD103SJ 1TB 7200 RPM SATA 3.0Gb/s 3.5" Internal Hard Drive -Bare Drive
PSU
CORSAIR CMPSU-650TX 650W ATX12V / EPS12V SLI Ready CrossFire
Case
Antec Three Hundred Illusion Black Steel ATX Mid Tower Compu
Use attrib documents to see what attributes are set.

Use del documents /S /Q to delete all files incl. sub folders. Note that /Q skips the "Are you sure" prompt

Then use the rmdir /s command to delete the empty folders
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Elitebook 8540p
OS
Windows 7 Pro 32
CPU
Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz
Motherboard
Hewlett-Packard 1521
Memory
4,00 GB (Usable 2,98)
Graphics Card(s)
NVIDIA NVS 5100M
Sound Card
NVIDIA High Definition Audio
Screen Resolution
1600x900
Hard Drives
INTEL SSDSA2CW120G3
Antivirus
F-Secure Internet Security
Browser
IE, Firefox, Opera
Other Info
Sandboxie,
SRP (Software Restriction Policy),
EMET (Enhanced Mitigation Experience Toolkit),
WFC (Windows Firewall Control by BiniSoft),
Malwarebytes Premium
I've tried using macrium before but it just doesn't fit my needs. I don't need a whole image of my computer, but rather just certain directories I know I want to keep safe.
Ok no probs I only suggested as I do image every week on my main machines for peace of mind.

I don't know much about t as I said but did see this if it is of any help
Robocopy
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Own build (new) Desk1 / Asus ROG Win 7 / Desk2 1st build
OS
Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
CPU
Desk1 i5 3750K / Laptop i7 GTX 860M / Desk2 i5 2500
Motherboard
Desk1 Asus P877-V / Desk2 Gigabyte H67 UD3H / Laptop ?
Memory
Desk1 8GB (1866) / Desk2 16GB (1333) / Laptop 8Gb DDR3
Graphics Card(s)
Desk 1& 2NVidia GTX 650 & Laptops on board Intel
Sound Card
Desk 1 & 2 -XONAR DG Realtek High Def audio Laptop
Monitor(s) Displays
Desk 1 Benq HD 2450 / Desk2 Philips 24" / Laptop 17.5"
Screen Resolution
1920x1080 D1 & D2 & Laptop 1
Hard Drives
Desk1 Samsung 120GB 830 SSD
Asus ROG 256GB 850 Pro SSD
Desk2 Samsung 840 256 SSD
Toshiba 120GB EVO
PSU
Desk 1 Corsair HX 1050/ Laptop ? / Desk 2 Corsair HX 650
Case
Desk 1 Cooler HAF XM ? Toshiba laptop / Desk2 Coolermaster
Cooling
Fans on all Desk1 -2 Desk2 - all Coolermasters 5 Laptop ?
Keyboard
Desk 1 MS Sidewinder X6 Desk 2 MS Sidewinder X 4
Mouse
Desk 1&2 - Gigabyte MS 900 gamer - laptop - Logitec wireless
Internet Speed
ADSL2+
Other Info
One other Desktop (tester) and spare Toshba laptop both with SSD's
Running Kaspersky 2016 ISS on all machines config'd identically
Logitec audio stereo systems on each machine (x3)
Canon MG5250MFC
Router/modem TP-Link running WPA2SK
Suggestion

Well personally I'd use XCOPY instead of ROBOCOPY. Maybe you could try this:

Create a folder in your G drive and name it Documents.

Open an Elevated Command Prompt

In the window that opens type (include the spaces)

xcopy "C:\Users\C.C\Documents" G:\Documents /c /d /h /i /k /q /r /s /x /y >> "C:\Users\C.C\Desktop\my_backup_log.txt."

Note Documents not My Documents.

Or if you prefer Enable Copy & Paste in Command Prompt and just copy the selected text by right clicking in the command prompt window.

If it works for you - you can save this script as a batch file and "Run as administrator" to run your backup. You'd need to modify it to include the other lines that you need.
 
Last edited:

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ASUS
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD C-60 APU with Radeon(tm) HD Graphics
Motherboard
ASUSTeK COMPUTER INC. X501U
Memory
4.00 GB
Graphics Card(s)
AMD Radeon HD 6290 Graphics
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
Hitachi HTS545050A7E380 SATA Disk Device
Antivirus
Comodo CIS & FW, SecureAplus App Whitelisting, Threatfire
Browser
Cyberfox 64bit, Opera 64bit, Airfox
Other Info
Spy-The-Spy, HitmanPro.Alert, Norton Connect Safe, MJRegWatcher, BitDefender TrafficLight, Voodoo Shield, Zemana AntiMalware

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Elitebook 8540p
OS
Windows 7 Pro 32
CPU
Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz
Motherboard
Hewlett-Packard 1521
Memory
4,00 GB (Usable 2,98)
Graphics Card(s)
NVIDIA NVS 5100M
Sound Card
NVIDIA High Definition Audio
Screen Resolution
1600x900
Hard Drives
INTEL SSDSA2CW120G3
Antivirus
F-Secure Internet Security
Browser
IE, Firefox, Opera
Other Info
Sandboxie,
SRP (Software Restriction Policy),
EMET (Enhanced Mitigation Experience Toolkit),
WFC (Windows Firewall Control by BiniSoft),
Malwarebytes Premium

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ASUS
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD C-60 APU with Radeon(tm) HD Graphics
Motherboard
ASUSTeK COMPUTER INC. X501U
Memory
4.00 GB
Graphics Card(s)
AMD Radeon HD 6290 Graphics
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
Hitachi HTS545050A7E380 SATA Disk Device
Antivirus
Comodo CIS & FW, SecureAplus App Whitelisting, Threatfire
Browser
Cyberfox 64bit, Opera 64bit, Airfox
Other Info
Spy-The-Spy, HitmanPro.Alert, Norton Connect Safe, MJRegWatcher, BitDefender TrafficLight, Voodoo Shield, Zemana AntiMalware

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Elitebook 8540p
OS
Windows 7 Pro 32
CPU
Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz
Motherboard
Hewlett-Packard 1521
Memory
4,00 GB (Usable 2,98)
Graphics Card(s)
NVIDIA NVS 5100M
Sound Card
NVIDIA High Definition Audio
Screen Resolution
1600x900
Hard Drives
INTEL SSDSA2CW120G3
Antivirus
F-Secure Internet Security
Browser
IE, Firefox, Opera
Other Info
Sandboxie,
SRP (Software Restriction Policy),
EMET (Enhanced Mitigation Experience Toolkit),
WFC (Windows Firewall Control by BiniSoft),
Malwarebytes Premium
My Documents vs Documents

Additional Info.

See the default junctions (copied from software that I use to restore default junctions if I ever screw them up)

Code:
[Default]
Application Data=AppData\Roaming
Cookies=AppData\Roaming\Microsoft\Windows\Cookies
Local Settings=AppData\Local
My Documents=[COLOR="Lime"][B]Documents[/B][/COLOR]
NetHood=AppData\Roaming\Microsoft\Windows\Network Shortcuts
PrintHood=AppData\Roaming\Microsoft\Windows\Printer Shortcuts
Recent=AppData\Roaming\Microsoft\Windows\Recent
SendTo=AppData\Roaming\Microsoft\Windows\SendTo
Start Menu=AppData\Roaming\Microsoft\Windows\Start Menu
Templates=AppData\Roaming\Microsoft\Windows\Templates
AppData\Local\Application Data=AppData\Local
AppData\Local\History=AppData\Local\Microsoft\Windows\History
AppData\Local\Temporary Internet Files=AppData\Local\Microsoft\Windows\Temporary Internet Files
[B][COLOR="lime"]Documents[/COLOR][/B]\My Music=Music
[COLOR="lime"][B]Documents[/B][/COLOR]\My Pictures=Pictures
[COLOR="lime"][B]Documents[/B][/COLOR]\My Videos=Videos

And have a read through this:

Problems with Robocopy

So with that in mind try excluding junctions. I think that this script will work:

robocopy C:\Users\C.C\Documents D:\Documents /MIR /XJ /np /tee /mt /log+:C:\Users\C.C\Desktop\my_backup_log.txt
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ASUS
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD C-60 APU with Radeon(tm) HD Graphics
Motherboard
ASUSTeK COMPUTER INC. X501U
Memory
4.00 GB
Graphics Card(s)
AMD Radeon HD 6290 Graphics
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
Hitachi HTS545050A7E380 SATA Disk Device
Antivirus
Comodo CIS & FW, SecureAplus App Whitelisting, Threatfire
Browser
Cyberfox 64bit, Opera 64bit, Airfox
Other Info
Spy-The-Spy, HitmanPro.Alert, Norton Connect Safe, MJRegWatcher, BitDefender TrafficLight, Voodoo Shield, Zemana AntiMalware
Back
Top