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

Re: dd or cp over network: should I use scp?



netcat may help:

dd if=/dev/sdX | nc -l 4321

On the other box:

nc ip.of.the.serverbox 4321 | dd of=/dev/sdY


On 2/24/11, Dotan Cohen <dotancohen@gmail.com> wrote:
> I need to dd or cp my laptop's harddrive over the LAN. For a reason
> that I'd rather not get into I cannot remove the drive from the
> laptop.
>
> Should I just use scp to copy over the LAN? Something like this?
> scp -r / root@178.63.65.136:/
>
> Can I actually use dd over the network, maybe by piping to scp
> somehow? What is the canonical way of doing this?
> Thanks!
>
> --
> Dotan Cohen
>
> http://gibberish.co.il
> http://what-is-what.com
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> Archive:
> [🔎] AANLkTinXBXVhoP-rBPWc0hYH_YQ9WTkVvHAWS72Cyhge@mail.gmail.com">http://lists.debian.org/[🔎] AANLkTinXBXVhoP-rBPWc0hYH_YQ9WTkVvHAWS72Cyhge@mail.gmail.com
>
>

-- 
Sent from my mobile device

Linuxer using Arch/Ubuntu, Pythoner, Geek
--> Blog: http://apt-blog.net
--> FB: http://www.facebook.com/boypt


Reply to: