how to back up faster

Page 1 of 2 12 LastLast

  1. Posts : 82
    Win10 pro v1903
       #1

    how to back up faster


    A couple times a day I run robocopy to incrementally back up only those files recently modified on a data drive. The backup target is an identical data drive on my home network and both drives have the same 1000 folders and 15,000 files. The command I use to do this is:

    robocopy \\main\data\ \\backup\data\ /s /xo /ndl /XF ~*.* /xx /W:3 /TBD

    this usually results in 10 or 20 files being backed up so that part takes just a few seconds but the whole job can take a couple minutes because robocopy has to check through all 15,000 files and it would be nice to cut that time down further. I'm wondering:

    1) is there a way to use robocopy to do this faster, or
    2) is there another program that I could use, one that would keep track of which files have been modifed so that all 15,000 don't have to be analyzed with each backup.
    Thanks!
    win10 21H2 19044.1415
      My Computer


  2. Posts : 23,253
    Win 10 Home ♦♦♦19045.4355 (x64) [22H2]
       #2

    johnhoh said:
    A couple times a day I run robocopy to incrementally back up only those files recently modified on a data drive. The backup target is an identical data drive on my home network and both drives have the same 1000 folders and 15,000 files. The command I use to do this is:

    robocopy \\main\data\ \\backup\data\ /s /xo /ndl /XF ~*.* /xx /W:3 /TBD

    this usually results in 10 or 20 files being backed up so that part takes just a few seconds but the whole job can take a couple minutes because robocopy has to check through all 15,000 files and it would be nice to cut that time down further. I'm wondering:

    1) is there a way to use robocopy to do this faster, or
    2) is there another program that I could use, one that would keep track of which files have been modifed so that all 15,000 don't have to be analyzed with each backup.
    Thanks!
    win10 21H2 19044.1415


    Pretty much any method you use will have to "check" to see what has changed.
    You might be better served by "scheduling" your Robocopy command to run just once a day or even once a week.
    Set it for a time when you aren't using your computer.
      My Computer


  3. Posts : 2,550
    Windows 10 Pro 64bit
       #3

    I would recommend Macrium Reflect. It would create a full backup then run a differential backup which only saves changed files since the full backup. The paid version allows incremental backups which save changed files since the diff backup. It quickly checks for the changes though. On my 2TB SSD it takes 4 hours for a full backup including verifying the file. An incremental takes a few minutes incl verifying.
    Depending on how often your files change the free version is enough; if they change every day & their loss would be difficult to recover then I would certainly consider the paid version.
    Macrium Software | Reflect Free Edition
      My Computer


  4. Posts : 23,253
    Win 10 Home ♦♦♦19045.4355 (x64) [22H2]
       #4

    @Bastet

    In order for Macrium to make incremental or differential backups... it still has to "check".
    Aka, compare the current state of the computer to the state of the last backup... of w/e type.

    Which, is the same thing Robocopy is doing.
      My Computer


  5. Posts : 2,550
    Windows 10 Pro 64bit
       #5

    Ghot said:
    @Bastet

    In order for Macrium to make incremental or differential backups... it still has to "check".
    Aka, compare the current state of the computer to the state of the last backup... of w/e type.

    Which, is the same thing Robocopy is doing.
    Fair enough. I was thinking Macrium may be quicker.
      My Computer


  6. Posts : 23,253
    Win 10 Home ♦♦♦19045.4355 (x64) [22H2]
       #6

    Bastet said:
    Fair enough. I was thinking Macrium may be quicker.


    Yeah, I don't know the methods they use now a days. But back when I was coding... they just compared the list on the left with the list on the right. And they compared every item.
    I can't think of any other way it could be done, but ya never know.

    Or to put it another way... I would assume both Macrium and Robocopy use whatever is the fastest method.
      My Computer


  7. Posts : 15,485
    Windows10
       #7
      My Computer


  8. Posts : 15,485
    Windows10
       #8

    Ghot said:
    Yeah, I don't know the methods they use now a days. But back when I was coding... they just compared the list on the left with the list on the right. And they compared every item.
    I can't think of any other way it could be done, but ya never know.

    Or to put it another way... I would assume both Macrium and Robocopy use whatever is the fastest method.
    To do really fast backups of files on Reflect, you need the paid version to do incremental backups using change block tracking. I never bother with CBT normally as I have 2 fast 1TB NVME drives.
      My Computer


  9. Posts : 82
    Win10 pro v1903
    Thread Starter
       #9

    cereberus said:
    You know earlier I had seen that the robocopy default is 8 threads so I assumed increasing it would not matter much.

    But then I saw your post and figured why not give it a try. Here are the results:

    - use default (no "MT" switch), backup runs in about a minute
    - use /MT:8 (which is SUPPOSED to be the default!), backup runs in about 5 seconds
    - use /MT:32, backup runs in maybe 2 seconds.

    So we're good to go! Thanks
      My Computer


  10. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #10

    Hello @johnhoh,

    I am a bit late, but these also contain excellent RoboCopy information . . .

    > ROBOCOPY - ss64
    > robocopy

    I hope this helps.
    Last edited by Paul Black; 03 Jan 2022 at 19:59.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:36.
Find Us




Windows 10 Forums