||04-07-2010 09:31 AM
Using dd to copy an image file to a remote system
Hi there --
I am trying to get the dd command to successfully copy a disk image to a remote system. Right now I am testing out the syntax by trying to copy the /dev/sda1 directory of the subject computer. The command syntax that I am using is the following:
dd if=/dev/sda1 ibs=4096 conv=notrunc,noerror | (ssh 188.8.131.52 of=/roarchive/test obs=4096)
The user account running this command is root, and the account does have key-based authentication between the source and destination computers.
The command does not return any error messages, but when I check the directory on the destination system, the expected output is not there.
What step(s) do I need to correct this? Thanks.