Thanks to https://www.thegeekdiary.com/how-to-clone-linux-disk-partition-over-network-using-dd/
Clone using telnet and bzip has advantages to reduce clone time, but make sure you use a secure network.
Lets assume server-B has ip address 192.168.100.2 Run this command in server B (destination):
# nc -l -p 19000 | bzip2 -d | dd bs=16M of=/dev/sdaRun this command in server A (source):
# dd bs=16M if=/dev/sda | bzip2 -c | nc 192.168.100.2 19000Based on these 2 commands above we will connect to server-B using port 19000.
It's better not to use bzip2 if you are backing up embedded system because the CPU may be too slow.
It's expected like this if you use faster network. It's a trade-off of computing and network.