Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rwmj
· 2y ago · 0 comments
A lot of hassle compared to:
nbdkit file /dev/nvme0n1 nbdcopy nbd://otherlaptop localfile
Comments
[–]
throwawaaarrgh
2y ago
This is actually much better because nbdcopy can handle sparse files, you can set the number of connections and threads to number of cores, you can force a flush before exit, and enable a progress bar. For unencrypted drives it also supports TLS.
[–]
verticalscaler
2y ago
If you really want a progress bar chuck in a 'pv' somewhere into the command posted at the top of the thread.
[–]
rwmj
OP
2y ago
Or add nbdcopy -p option :-)
[–]
brokenmachine
2y ago
And "dd conv=sparse" to fix the other problem.