Re:Cloning a Laptop over NVMe TCP
by Moneysac on Tuesday March 12, 2024 @03:13AM
(#39676923)
could you explain how you do that exactly?
[ Parent
| on HN ]
This comment explains it: https://news.ycombinator.com/item?id=39676881
Basically https://news.ycombinator.com/item?id=39676881, but also adding a pipe through gzip/gunzip in the middle for data compression.
I think I did something like `nc -l -p 1234 | gunzip | dd status=progress of=/dev/nvme0n1` on the receiving end and `dd if=/dev/nvme0n1 bs=40M status=progress | gzip | nc 10.1.2.3:1234` on the sending end, after plugging an ethernet cable into both devices. In theory I could've probably also used the WiFi cards to set up a point to point network to speed up the transmission, but I couldn't be bothered with looking up how to make nc use mptcp like that.