[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with my HD



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Sun, 28 May 2000, Kevin Blackham wrote:
> On Sun, May 28, 2000 at 11:08:18PM -0300, Helber wrote:
> > I´m having some phisical problems with my hard drive.
> > How do I transfer all my data  from a hd to another. 
> 
> I've done this using "tar cvp * > outputfile" and then extracting the archive 
> to the new, mounted drive.  You'll need some temporary space, so I usually
> just put the outputfile on the new mount. 

Then you can better use named pipes, then you won't need tempspace

mkfifo /tmp/somenamedpipe
on <newdrive>: tar -zxvf /tmp/somenamedpipe
and in another shell, while the above is running...
on <olddrive>: tar -zcvf /tmp/somenamedpipe <files/dirs you want copied>

You can also use the tools 'mirrordir' and 'copydir', they are in the same
package, and they copy (or copy with delete) one directory tree to
another, in a minimal way (Compare timestamps, don't copy if even..)

Mark Janssen                                  Unix Consultant
Unix Support Nederland / PSInet Netherlands
E-mail: mark@markjanssen.homeip.net    GnuPG Key Id: 357D2178
http: markjanssen.homeip.net www.markjanssen.nl www.maniac.nl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org
Filter: gpg4pine 4.0 (http://azzie.robotics.net)

iD8DBQE5MgDSb6urvDV9IXgRAir8AJ4/u595r8dPIODv5OmW8jG8G5NQfQCguXKU
FDTYVpevNWZZHNjfpX//Zig=
=DtK3
-----END PGP SIGNATURE-----



Reply to: