1 |
My laptop is currently still copying everything to my desktop system |
2 |
via tar and ssh. I generally have to run rc on the desktop system |
3 |
periodically to make sure network-dependent services are still running |
4 |
as the desktop sometimes loses the wireless connection temporarily. |
5 |
When I ran rc this morning, I saw that ssh started so it must have |
6 |
stopped some time overnight as it usually does. The laptop was still |
7 |
running the tar | ssh command I had started the night before. Could |
8 |
the desktop be missing some of the laptop's data since the desktop |
9 |
wasn't running ssh all night, or would it "catch up" now that ssh is |
10 |
running? |
11 |
|
12 |
The laptop doesn't run sshd and X is not working so I can't make a |
13 |
comparison of the data on the two systems. |
14 |
|
15 |
- Grant |
16 |
|
17 |
On 1/25/07, Kent Fredric <kentfredric@×××××.com> wrote: |
18 |
> > dd if=/dev/hda3 bs=<some_large_value> | bzip2 | ssh user@target "cat |
19 |
> > > /suitable/path/to/hda3.img.bz2" |
20 |
> > |
21 |
> > Or, if you can mount the partition, you can use tar: |
22 |
> > |
23 |
> > tar -cjvf - /mount/point/ | ssh user@target "cd /some/path ; tar -xjvf -" |
24 |
> > |
25 |
> |
26 |
> you could also use netcat to transfer the files instead of ssh, would |
27 |
> probably be closer to the speen of the lan and have less CPU overhead |
28 |
> |
29 |
> Target: |
30 |
> nc -l -p 5999 > hda3.img |
31 |
> Source: |
32 |
> dd if=/dev/hda3 | nc 192.168.your.ip 5999 |
33 |
> |
34 |
> |
35 |
> if your hard drive is trashed like you say it is, you may want to use |
36 |
> ddrescue ( sys-fs/ddrescue ) |
37 |
> |
38 |
> And make sure for the love of sanity the drive you are copying is |
39 |
> _NOT_ currently mounted, at least not in write mode, or the image you |
40 |
> produce could be crufted. |
41 |
> -- |
42 |
> gentoo-user@g.o mailing list |
43 |
> |
44 |
> |
45 |
-- |
46 |
gentoo-user@g.o mailing list |