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 backup for personal folders

03 Mar 2012   #1

windows 7 home premium 64 bit
 
 
Robocopy backup for personal folders

I have created a batch file for copying my Documents folder to an external hard drive:

Quote:
robocopy C:\Users\USERNAME\Documents J:\Desktop-Backup\Documents /copyall /e /LOG+:c:\users\USERNAME\documents\backuplog.txt
The log file shows that it is backing up C:\users\USERNAME\documents\My Music and C:\users\USERNAME\documents\My Pictures.
That's fine, because I want those backed up anyway, but when I go to J:\desktop-backup\Documents, the Music and Pictures folders aren't there (or anywhere else on the J: drive).
I have "view hidden files and folders" turned on. It seems that the files are actually there because my Documents folder is only 700MB, yet several GB have been taken up on the J: drive.
Anyone have any thoughts?
Thanks.

My System SpecsSystem Spec
.

03 Mar 2012   #2

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64
 
 

Hi,

Can you re-write your post and use some punctuation and paragraphing to make it easier to read please? I'm having a hard time working out your robocopy command lines.

See if this will help you:

ROBOCOPY - Create Backup Script

Regards,
Golden
My System SpecsSystem Spec
03 Mar 2012   #3

windows 7 home premium 64 bit
 
 

Hi,

Thanks for the quick response. I added a few paragraph breaks, put the code in a quote tag, and removed an irrelevant part of the code.
The problem isn't with the code so much, as it is with the Windows 7 file system thinking that My Music, My Pictures and My Videos are located inside of the Documents folder, but then not displaying them at the backup destination.
Thanks
My System SpecsSystem Spec
.


03 Mar 2012   #4

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64
 
 

Hi,

Presumably you are replacing USERNAME with the actually users name in the command line?

Also, is My Music and My Pictures libraries? Do you have another location on C: that holds your music and photo's?

Regards,
Golden
My System SpecsSystem Spec
03 Mar 2012   #5

windows 7 home premium 64 bit
 
 

You presume correctly.
I guess they're libraries? When you click start and click Documents, Pictures or Music, that's the folders that I put them into.
My System SpecsSystem Spec
Reply

 Robocopy backup for personal folders




Thread Tools



Similar help and support threads for2: Robocopy backup for personal folders
Thread Forum
ROBOCOPY - Create Backup Script Tutorials
Robocopy Backup - ERROR 5 (0x00000005) Backup and Restore
Robocopy copying folders from the wrong place General Discussion
Solved Robocopy - Copying Folders With Spaces in The Title. Backup and Restore
robocopy skipping folders (moving c:\users) General Discussion
Anyone use robocopy to backup? Backup and Restore
Robocopy - adding attributes to specific folders 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 05:09 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33