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
1 On Thursday 25 January 2007 19:28, Grant wrote:
2
3 > Matthias,
4 >
5 > I just realized that I still have a network connection with the laptop
6 > so I should be able to move its data to my desktop machine across the
7 > network as you suggest. Can you recommend the best way to move
8 > /dev/hda3 and /dev/hda1 across the network to the desktop for later
9 > restoration to the laptop?
10
11 The following assumes you have sshd running on the target box, and ssh
12 available on the source box.
13
14 If you want to copy whole partitions, you can use dd over ssh:
15
16 dd if=/dev/hda3 bs=<some_large_value> | bzip2 | ssh user@target "cat
17 > /suitable/path/to/hda3.img.bz2"
18
19 Or, if you can mount the partition, you can use tar:
20
21 tar -cjvf - /mount/point/ | ssh user@target "cd /some/path ; tar -xjvf -"
22
23 Hope this helps.
24 --
25 gentoo-user@g.o mailing list

Replies

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