LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dd command for remote disk copy (http://www.linuxquestions.org/questions/linux-newbie-8/dd-command-for-remote-disk-copy-783626/)

tukidid 01-20-2010 09:04 PM

dd command for remote disk copy
 
Imaging-copying a working remote share on WindowsNT to a local Linux disk target is needed .
Is that possible with dd command(how if remote share is connected as smb://ipnumber/share) and do you need root privilleges on local and remote machine for that?
Perhaps
on source machine:

dd if=/dev/hda bs=16065b | netcat targethost-IP 1234

on target machine:

netcat -l -p 1234 | dd of=/dev/hdc bs=16065b

or

rsh 192.168.xx.yy "dd if=/dev/sda ibs=4096 conv=notrunc,noerror" | dd of=/dev/sda obs=4096
?
(any difference to dd/privilleges if you use it as windows dd version
since remote is running windowsNT)?

konsolebox 01-20-2010 09:39 PM

You can safely use netcat if you can but I suggest that you make a CRC/MD5sum comparison to the source disk and destination image.


All times are GMT -5. The time now is 07:18 PM.