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: Robocopy not copying My Document files

08 Sep 2014   #1
CC123

Microsoft Windows 7 Home Premium 64-bit 1-Pack for System Builders - OEM
 
 
Robocopy not copying My Document files

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.
Quote:
------------------------------------------------------------------------------

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.



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.

Quote:
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.

Quote:
------------------------------------------------------------------------------

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

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



My System SpecsSystem Spec
.
08 Sep 2014   #2
ICIT2LOL

Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
 
 

CC mate I don't understand the Robocopy stuff and personally I use the Macrium for back up / imaging it is free and so easy to use.
Just a suggestion to get you out of strife
Imaging with free Macrium
My System SpecsSystem Spec
08 Sep 2014   #3
CC123

Microsoft Windows 7 Home Premium 64-bit 1-Pack for System Builders - OEM
 
 

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 System SpecsSystem Spec
.

08 Sep 2014   #4
Tookeri

Windows 7 Pro 32
 
 

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 System SpecsSystem Spec
08 Sep 2014   #5
CC123

Microsoft Windows 7 Home Premium 64-bit 1-Pack for System Builders - OEM
 
 

Quote   Quote: Originally Posted by Tookeri View Post
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.



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 System SpecsSystem Spec
08 Sep 2014   #6
Tookeri

Windows 7 Pro 32
 
 

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 System SpecsSystem Spec
08 Sep 2014   #7
ICIT2LOL

Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
 
 

Quote   Quote: Originally Posted by CC123 View Post
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 System SpecsSystem Spec
08 Sep 2014   #8
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
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.
My System SpecsSystem Spec
08 Sep 2014   #9
Tookeri

Windows 7 Pro 32
 
 

A 7 tutorial here: ROBOCOPY - Create Backup Script
My System SpecsSystem Spec
08 Sep 2014   #10
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
Tutorial

Quote   Quote: Originally Posted by Tookeri View Post
Nice!
My System SpecsSystem Spec
Reply

 Robocopy not copying My Document files




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Used Robocopy and deleted my files - how can I recover them?
Hi I've just re-organised my hard drives and I've set up a batch routine to backup my files, using Robocopy. However, as I swapped my drives around, I've copied in the wrong direction. Robocopy has consequently deleted entire folders of important data. The data isn't in the recycle bin. ...
Backup and Restore
Robocopy /MOV command copying but not deleting from source directory
Hi All, I have one folder A and have another folder B in the same drive E: I need to move all the content from folder A which are more than 2 years old to folder B. Hence when I ran the robocopy it just copied and I lost all disk space in drive E. My question is even though I used /MOV...
General Discussion
Robocopy copying folders from the wrong place
I've set up a back up batch file to copy my Documents, Pictures, Music, and Videos folders from my computer to an external hard drive. However, while running the Documents backup, it seems to find, the pictures, music, and videos folders all inside the documents folders labelled "My Music", etc. ...
General Discussion
Robocopy - Copying Folders With Spaces in The Title.
Hey guys, This may sound like a really silly question, but I'm just getting to grips with using Robocopy. How do you copy folders with spaces in the title? E.g: T:\Admin Tools I keep getting an error. Any help would be great thanks.
Backup and Restore
Backing up files using Robocopy
The default copy switch of robocopy is /COPY:DAT if you don't specify any copy options. This is the code I'm using: robocopy C:\ D:\Backup RAMDisk.img /copyall /R:5 /W:15 /V /log:D:\Users\Kevin\Desktop\robocopy_log.txt The RAMDisk.img file that I'm copying is a compressed image file. Now with...
Backup and Restore
How to Robocopy my files to Linkstation.
I have setup a bat file to copy my files to the linkstation. As Below: Robocopy "C:\Users\User\Documents\Janine" "B:\Documents\Janine" /MIR /E /SEC But when it gets to certain files it says access denied. How do I get it to copy these files with permissions...
General Discussion


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 15:46.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App