3 ms·
Consider rsync over tar. rsync has the (important) advantage it can generally be stopped and resumed. If the source drive's actually failing, I would instead
by snvzz 2y ago
Consider rsync over tar.
rsync has the (important) advantage it can generally be stopped and resumed.
If the source drive's actually failing, I would instead ddrescue asap, and work with the (make it a read-only file) image.
Should the filesystem need fsck, qemu-img can create a read-write image that is an overlay backed by a read-only file, and qemu-nbd can expose that through nbd, so that your kernel can use it.
- throw0101c 2y ago> Consider rsync over tar. I forget the exact details now, but in the past I found that cpio was the best option at times. It may have been circumstances when I didn't want the entire tree, but rather files that met specific criteria, and I was able to combine find and cpio (-o option) together.
- NewJazz 2y agoRsync has a nice glob based inclusion and exclusion rule system.
- deleted 2y ago[deleted]