I'm trying to make a dd image of a laptop's hard disk, and write it directly to disk on another machine over the network.
Basically I want to do this:
Code:
dd if=/dev/sda1 of=/some/place/to/store/stuff/backup_image
But I instead want to pipe the data to a file on another machine. I have a machine that I can ssh into, but I don't know how to make it work. Something like this:
Code:
dd if=/dev/sda1 | scp ?standard_input? uname@machine:~/backup/backup_image
I couldn't see any standard input options for scp. Any gurus out there that can help?