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 - Create Backup Script

25 Mar 2012   #40
JDobbsy1987

Windows 8.1 Pro x64
 
 

It is indeed


My System SpecsSystem Spec
.
25 Mar 2012   #41
Brds7t7

Windows 7 Pro & Ultimate (64-Bit) Retail, Windows 8.1 Pro (64-Bit) Retail
 
 

Thanks again!
My System SpecsSystem Spec
25 Mar 2012   #42
Golden
Microsoft MVP

Windows 7 Ult. x64
 
 

Quote   Quote: Originally Posted by JDobbsy1987 View Post
i would put some retry option in just encase there was an issue accessing the destination drive during the copy:

e.g.
Code:
/Z /R:10 /W:20
this way the copy shouldn't fail but wait 20 seconds and try again (the retry enables it to carry on from where it stopped rather than starting it all over again.)
Hi,

FYI, if you don't specify any retry options, then ROBOCOPY automatically uses these values:

R:1000000 and W:30

Regards,
Golden
My System SpecsSystem Spec
25 Mar 2012   #43
Brds7t7

Windows 7 Pro & Ultimate (64-Bit) Retail, Windows 8.1 Pro (64-Bit) Retail
 
 

Thanks for the extra info Golden!
Is the retry option set to a million by default then?
My System SpecsSystem Spec
.

25 Mar 2012   #44
Golden
Microsoft MVP

Windows 7 Ult. x64
 
 

Yes, it is. Probably best to change it
My System SpecsSystem Spec
26 Mar 2012   #45
JDobbsy1987

Windows 8.1 Pro x64
 
 

Quote   Quote: Originally Posted by Golden View Post
Hi,

FYI, if you don't specify any retry options, then ROBOCOPY automatically uses these values:

R:1000000 and W:30

Regards,
Golden
Good point Golden, I'm liking this thread... bringing me back up to speed with robocopy
My System SpecsSystem Spec
26 Mar 2012   #46
Brds7t7

Windows 7 Pro & Ultimate (64-Bit) Retail, Windows 8.1 Pro (64-Bit) Retail
 
 

Me too! I never realised you could do so much with Robocopy. I just thought it was a command line for copy and paste.
Been looking at the commands and it's got so many options. It's something I am going to start using a lot more.
My System SpecsSystem Spec
26 Mar 2012   #47
Golden
Microsoft MVP

Windows 7 Ult. x64
 
 

Great stuff Burdus
My System SpecsSystem Spec
26 Mar 2012   #48
Golden
Microsoft MVP

Windows 7 Ult. x64
 
 

Quote   Quote: Originally Posted by Burdus32 View Post
Code:
robocopy <source> <destination> /E /Z /COPYALL /MT:12 /log+:backup_log.txt /R:10 /W:20
Hi,

I just noticed the /Z command, and have a suggestion.

/Z = copy in restartable mode.

This is a good option for copying across networks to mitigate the risk in losing connectivity, but it comes at a price : a much slower copying speed.

It your D: and T: are NOT network drives (e.g. they are internal or USB connected drives), leave out the /Z switch to achive a faster copy time.

Regards,
Golden
My System SpecsSystem Spec
26 Mar 2012   #49
Brds7t7

Windows 7 Pro & Ultimate (64-Bit) Retail, Windows 8.1 Pro (64-Bit) Retail
 
 

Thanks again Golden!

My D drive is internal and my T is an external seagate drive so I'll try it without the /Z switch.

Can't get enough of this site! :)
My System SpecsSystem Spec
Reply

 ROBOCOPY - Create Backup Script




Thread Tools




Similar help and support threads
Thread Forum
Robocopy Script For Incremental, Differential and Full Backup
Dears, Anobody can help me to have a backup script that will help for backup requirement, Please see the details below My Source Directory is "D:\Source" My Destinationa Directory is "\\Server\Destination" I need to meet the following (1) Need to take fullbackup on every Friday ? For this...
General Discussion
my backup script using robocopy
robocopy /S /E /MOV %USERPROFILE%\Documents\ G:\backup\Documents\ robocopy /S /E /MOV %USERPROFILE%\Pictures\ G:\backup\Pictures\ robocopy /S /E /MOV %USERPROFILE%\Downloads\ G:\backup\DownloadS\ robocopy /S /E /MOV %USERPROFILE%\Favorites\ G:\backup\Favorites\ robocopy /S /E /MOV...
Backup and Restore
robocopy script is not working through Scheduler
Dear All, My batch file of robocopy is working fine. But when I tried to run it through task scheduler, none of the files transfer to the target location. @echo off echo +-----------------------------------------+ echo Database Export Utility for server ...
General Discussion
Robocopy backup for personal folders
I have created a batch file for copying my Documents folder to an external hard drive: 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...
Backup and Restore
Anyone use robocopy to backup?
Evening all, Just curious to know if anyone uses the built in utility to backup software on your machine, im trying to backup my itunes folder to an external HD but having a few issues to get this to work properly! I also use sync toy for backing up but just really want to know what everyone...
Backup and Restore


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 22:52.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App