ROBOCOPY - Create Backup Script

Page 5 of 32 FirstFirst ... 3456715 ... LastLast

  1. Posts : 2,177
    Windows 8.1 Pro x64
       #40

    It is indeed
      My Computer


  2. Posts : 1,797
    Win 7 Ultimate, Win 8.1 Pro, Linux Mint 19 Cinnamon (All 64-Bit)
       #41

    Thanks again!
      My Computer


  3. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
    Thread Starter
       #42

    JDobbsy1987 said:
    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 Computer


  4. Posts : 1,797
    Win 7 Ultimate, Win 8.1 Pro, Linux Mint 19 Cinnamon (All 64-Bit)
       #43

    Thanks for the extra info Golden!
    Is the retry option set to a million by default then?
      My Computer


  5. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
    Thread Starter
       #44

    Yes, it is. Probably best to change it
      My Computer


  6. Posts : 2,177
    Windows 8.1 Pro x64
       #45

    Golden said:
    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 Computer


  7. Posts : 1,797
    Win 7 Ultimate, Win 8.1 Pro, Linux Mint 19 Cinnamon (All 64-Bit)
       #46

    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 Computer


  8. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
    Thread Starter
       #47

    Great stuff Burdus
      My Computer


  9. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
    Thread Starter
       #48

    Burdus32 said:
    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 Computer


  10. Posts : 1,797
    Win 7 Ultimate, Win 8.1 Pro, Linux Mint 19 Cinnamon (All 64-Bit)
       #49

    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 Computer


 
Page 5 of 32 FirstFirst ... 3456715 ... LastLast

  Related Discussions
Our Sites
Site Links
About 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 03:23.
Find Us