Using `dd` and `ssh` to copy a disk image over a network

dd if=/dev/sdX | ssh user@remotehost "dd of=ops-tools.img"

Another Way

On the Sourcemachine

 tar zcf - /* | nc $IP 4444

And on the Destination Machine

 nc -lp 4444 > backup.tar.gz

Revision #2
Created 19 November 2021 01:36:35 by tinfoil-hat
Updated 26 November 2021 18:33:08 by tinfoil-hat