Gentoo Archives: gentoo-user

From: Etaoin Shrdlu <shrdlu@×××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Hard Drive Crash - Please Help
Date: Thu, 25 Jan 2007 18:53:49
Message-Id: 200701252016.40150.shrdlu@unlimitedmail.org
On Thursday 25 January 2007 19:28, Grant wrote:

> Matthias, > > I just realized that I still have a network connection with the laptop > so I should be able to move its data to my desktop machine across the > network as you suggest. Can you recommend the best way to move > /dev/hda3 and /dev/hda1 across the network to the desktop for later > restoration to the laptop?
The following assumes you have sshd running on the target box, and ssh available on the source box. If you want to copy whole partitions, you can use dd over ssh: dd if=/dev/hda3 bs=<some_large_value> | bzip2 | ssh user@target "cat
> /suitable/path/to/hda3.img.bz2"
Or, if you can mount the partition, you can use tar: tar -cjvf - /mount/point/ | ssh user@target "cd /some/path ; tar -xjvf -" Hope this helps. -- gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Hard Drive Crash - Please Help Kent Fredric <kentfredric@×××××.com>