[LUNI] What's the best way to transfer a large amount of data between hard drives?

Samir Faci samir at esamir.com
Fri Oct 6 14:12:56 CDT 2006


dd is overkill for transferring data.  You'll copy used and unused bits
from the hard drive.

I've used ssh/tar before if you want to do ssh (which slows the transfer)
look at this page:  http://ultra.ap.krakow.pl/~bar/DOC/ssh_backup.html

rsync is probably the best, I'd say though I haven't used it much.

--
Samir


> I think you want something along these lines.
>
> rsync -auP /mnt/hdb1/home /home
>
> If the operation gets interupted just run it again.  It could take 15
> minutes just to get started with 120Gigs though.
> (I don't think I messed up the directory specification, but if I did you
> might end up with /home/home/** )
>
> Don't use dd if you are planning on using different sized anything.  dd
> also
> probably won't resume nicely for you\
>
> On 10/6/06, skie at dragonsvalley.com <skie at dragonsvalley.com> wrote:
>>
>> Well, my OS drive has finally decided to die on me.  At first I thought
>> it
>> was just general OS instability (I thought I over optimised Gentoo), but
>> I
>> realized last night that it was the hard drive.  This morning, it
>> knocked
>> like crazy and won't work at all now.  Oh well.  Anyway, I'm getting
>> offtopic already.
>>
>> I'm looking at buying a new larger drive for my /home and using my
>> current
>> /home drive as the / drive.  There's almost 120GB of data on this drive
>> that I'll need to transfer.  What's the best method of transfering this
>> to
>> a new drive?  dd?  rsync?  mv?  I'm thinking that either dd or rsync,
>> but
>> I've never really used either very much.  Any input on the
>> pluses/minuses
>> of these is appreciated.  Or, if there's another tool you recommend, I'm
>> all ears.  Whatever utility is used, it'll have to be command line only.
>> --
>> Linux Users Of Northern Illinois - Technical Discussion
>> http://luni.org/mailman/listinfo/luni
>>
>>
> --
> Linux Users Of Northern Illinois - Technical Discussion
> http://luni.org/mailman/listinfo/luni
>


-- 
Samir Faci
samir at esamir.com
--
 php -r "system( perl -e 'exec python -c \' system(ruby -e \\'
IO.popen(\\\\' /bin/bash \\\\') \\') \' ' );"
       .--.
      |o_o |                   Freedom of Choice
      |:_/ |           __
     //   \ \         / /     __  __  __  __  __ __  __
    (|     | )       / /__   / / /  \/ / / /_/ / \ \/ /
   /'\_   _/`\      /_____/ /_/ /_/\__/ /_____/  /_/\_\
   \___)=(___/



More information about the luni mailing list