Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Comparing Two Drives

Comparing Two Drives

Scheduled Pinned Locked Moved The Lounge
question
30 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Anna Jayne Metcalfe

    Anytime. :) Robocopy is well worth taking the time to learn - it can mirror folders easily, won't abort if it can't read a file and supports incremental copying. Highly recommended. :rose:

    Anna :rose: Having a bad bug day? Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

    P Offline
    P Offline
    Paul Conrad
    wrote on last edited by
    #21

    Going to look at it this morning. I would like to have a near 100% mirror before I wipe the desktop machine.

    "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

    A 1 Reply Last reply
    0
    • P Paul Conrad

      Going to look at it this morning. I would like to have a near 100% mirror before I wipe the desktop machine.

      "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

      A Offline
      A Offline
      Anna Jayne Metcalfe
      wrote on last edited by
      #22

      Have fun! FWIW here's the command line I normally use for mirroring drives:

      robocopy /s /r:3 /w:5 /mir

      Mirror does what you'd expect - as well as adding files to the target which have been added to the source since the last run, it will also remove files from the target which have been deleted from the source.

      Anna :rose: Having a bad bug day? Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

      P 1 Reply Last reply
      0
      • A Anna Jayne Metcalfe

        Have fun! FWIW here's the command line I normally use for mirroring drives:

        robocopy /s /r:3 /w:5 /mir

        Mirror does what you'd expect - as well as adding files to the target which have been added to the source since the last run, it will also remove files from the target which have been deleted from the source.

        Anna :rose: Having a bad bug day? Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #23

        Hey Anna, I am trying to go the /MIR route. It should fit the bill for what I need to do. PJC

        "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

        A 1 Reply Last reply
        0
        • P Paul Conrad

          Hey Anna, I am trying to go the /MIR route. It should fit the bill for what I need to do. PJC

          "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

          A Offline
          A Offline
          Anna Jayne Metcalfe
          wrote on last edited by
          #24

          Have fun. :)

          Anna :rose: Having a bad bug day? Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

          P 2 Replies Last reply
          0
          • A Anna Jayne Metcalfe

            Have fun. :)

            Anna :rose: Having a bad bug day? Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

            P Offline
            P Offline
            Paul Conrad
            wrote on last edited by
            #25

            Thanks. Just kind of turned for the worse. Have to do the mirroring over the wireless network. The desktop machine isn't incredibly fond of the WD My Book due to non USB 2.0 ports on it, and the two USB 2.0 it doesn't seem to get registered.

            robocopy c: \\toshibalaptop\mybook /S /R: 0 /W: 0 /MIR

            seems to be doing the trick.

            "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

            1 Reply Last reply
            0
            • A Anna Jayne Metcalfe

              Have fun. :)

              Anna :rose: Having a bad bug day? Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

              P Offline
              P Offline
              Paul Conrad
              wrote on last edited by
              #26

              How do I know it is actually writing something to the destination? Been running for 18 minutes now, and the My Book shows nothing. ---modified Never mind, I did \toshibalaptop\mybook when it should be \\toshibalaptop\mybook :-O

              "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

              modified on Saturday, August 9, 2008 3:15 PM

              A 1 Reply Last reply
              0
              • P Paul Conrad

                How do I know it is actually writing something to the destination? Been running for 18 minutes now, and the My Book shows nothing. ---modified Never mind, I did \toshibalaptop\mybook when it should be \\toshibalaptop\mybook :-O

                "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                modified on Saturday, August 9, 2008 3:15 PM

                A Offline
                A Offline
                Anna Jayne Metcalfe
                wrote on last edited by
                #27

                Are you by any chance running it against the folder set you previously copied? If so, it won't copy much at all - only the files that were missed the first time (assuming that they are no longer locked). If you get it to write a logfile as it goes you should be able to see exactly what it found, and which files were copied in a given session.

                Anna :rose: Having a bad bug day? Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

                P 1 Reply Last reply
                0
                • A Anna Jayne Metcalfe

                  Are you by any chance running it against the folder set you previously copied? If so, it won't copy much at all - only the files that were missed the first time (assuming that they are no longer locked). If you get it to write a logfile as it goes you should be able to see exactly what it found, and which files were copied in a given session.

                  Anna :rose: Having a bad bug day? Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

                  P Offline
                  P Offline
                  Paul Conrad
                  wrote on last edited by
                  #28

                  No, this is a fresh copy. Seems to be doing the job now ---modified Well, ended up killing the process over the network. I got desktop machine to finally see the My Book again. This time looks like the charm :)

                  "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                  A 1 Reply Last reply
                  0
                  • P Paul Conrad

                    No, this is a fresh copy. Seems to be doing the job now ---modified Well, ended up killing the process over the network. I got desktop machine to finally see the My Book again. This time looks like the charm :)

                    "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                    A Offline
                    A Offline
                    Anna Jayne Metcalfe
                    wrote on last edited by
                    #29

                    That's odd. What does the logfile say?

                    Anna :rose: Having a bad bug day? Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

                    P 1 Reply Last reply
                    0
                    • A Anna Jayne Metcalfe

                      That's odd. What does the logfile say?

                      Anna :rose: Having a bad bug day? Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

                      P Offline
                      P Offline
                      Paul Conrad
                      wrote on last edited by
                      #30

                      The logfile is currently 3MB in size and growing. Looks good from opening a copy of the logfile. It only complained about one file thus far, C:\hiberfil.sys, as being open. Sounds like some kind of hibernation file I can live without copying :rolleyes:

                      "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups