Backup Disks Using Netcat
Nov 3, 2018
Sending:
dd if=/dev/sdX bs=1M | lz4 | nc -l 3333
Receiving:
nc <host> 3333 -w1 > out.lz4
Use unlz4
to decompress.
Sending:
dd if=/dev/sdX bs=1M | lz4 | nc -l 3333
Receiving:
nc <host> 3333 -w1 > out.lz4
Use unlz4
to decompress.