Find the answer to your Linux question:
Results 1 to 2 of 2
Hi guys, I have two computers with linux installed. I need to take a bit-stream (bit-by-bit) image of one computer's hard disk (IP : 192.168.0.2) to the other computer (Ip: ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    3

    Acquiring a hard disk image through SSH

    Hi guys, I have two computers with linux installed. I need to take a bit-stream (bit-by-bit) image of one computer's hard disk (IP : 192.168.0.2) to the other computer (Ip: 192.168.0.196) over the network. I have the root access for both of the computers. How can I do this using 'dd' and 'ssh'? Thanks a lot.

  2. #2
    Just Joined!
    Join Date
    Feb 2009
    Location
    USA
    Posts
    21
    Hope this will work...
    assume we are on 192.168.0.2,

    Code:
    dd if=/dev/sda1 bs=1024 | ssh -C root@192.168.0.196 dd of=/dev/sdb1
    cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...