Best way to copy a hard drive

Discussion in 'Operating Systems' started by rampantandroid, Mar 29, 2011.

  1. rampantandroid

    rampantandroid [H]ard|Gawd

    Messages:
    1,964
    Joined:
    Jun 14, 2006
    Hi all,

    Just grabbed a new backup/data drive for my system, and I'd like to copy my OLD backup drive over - hidden files and all...is there a more efficient way than drag/drop that'll automatically do it without all of the "do you want to merge" prompts windows hits you with?

    Thanks!
    RA
     
  2. /dev/null

    /dev/null [H]ardForum Junkie

    Messages:
    13,996
    Joined:
    Mar 31, 2001
    dd. live it, learn it, love it :D
     
  3. rampantandroid

    rampantandroid [H]ard|Gawd

    Messages:
    1,964
    Joined:
    Jun 14, 2006
    Preferrable no unix or linux involed :) My days of messing with linux are long gone. emerge -uDn ended it, I think... :)
     
  4. MrsOldMX

    MrsOldMX Limp Gawd

    Messages:
    489
    Joined:
    Jul 5, 2006
    robocopy.exe should do the trick :D
     
  5. rampantandroid

    rampantandroid [H]ard|Gawd

    Messages:
    1,964
    Joined:
    Jun 14, 2006
    I suspected that might the answer...OK, I'll go figure out the command line options for it again :)

    Thanks!
     
  6. /usr/home

    /usr/home [H]ardness Supreme

    Messages:
    6,190
    Joined:
    Mar 18, 2008
    Something like TeraCopy would work well.
     
  7. Lord Nassirbannipal

    Lord Nassirbannipal [H]ard|Gawd

    Messages:
    1,148
    Joined:
    Apr 1, 2005
    Or plain old:

    xcopy e: f: /e /h /y
     
  8. SirMaster

    SirMaster 2[H]4U

    Messages:
    2,120
    Joined:
    Nov 8, 2010
  9. XOR != OR

    XOR != OR Stay [H]ard

    Messages:
    20,554
    Joined:
    Jun 17, 2003
    ouch. You could always grab a live cd, boot it, dd from your src to your target, reboot, throw away the CD and pretend it ever happened.

    I'm just sayin' you've got options.
     
  10. Surly73

    Surly73 [H]ard|Gawd

    Messages:
    1,783
    Joined:
    Dec 19, 2007
    I just did this on the weekend and I used Clonezilla in partition-to-partition mode.

    It will resize the target filesystem and it will be absolutely certain to copy all permissions, special flags, hardlinks, symlinks, junction points, whatever without a problem. The downside is that depending on how you do things the partion UUID could be the same and you shouldn't let the OS see the old and new partitions at the same time if it can be avoided. Win7 handles it pretty gracefully, XP has more issues.

    I've been using robocopy to sync archives. I've found that it can get cranky and stuck on things like the recycle bin, System Volume Information and other attributes. It will stop dead with 30 second pauses between attempts if it gets permission denied. Since you have to execute it as a regular user (even if elevated) you still might not have permission to robocopy absolutely everything depending on how complicated your install/environment is.

    That's why I chose cloning.