1

I have a 30GB dd image of an SD card, and am using the 7-Zip command line to compress it. Are there any particular options I should enable or avoid when it comes to a dd image that, presumably, must remain absolutely unchanged in order to ensure it can be recovered from?

For example, should solid compression be avoided? Is there a compression algorithm that's likely to compress dd images more efficiently (i.e. that offers the best trade-off between speed vs time) than any other? And so on.

Alternatively, are bit-wise images compressed in pretty much the same way as any other data would be? This is also a valid answer.

Here's what I have so far:

 7z a -t7z -mx=9 -ms=on "SDcardbackup" "SDcardbackup.img"
Hashim Aziz
  • 11,898
  • 35
  • 98
  • 166
  • Often it's good to write zeros to unused sectors, so the image compresses better. Please read [this answer](https://superuser.com/a/1097391/432690). – Kamil Maciorowski Mar 06 '19 at 17:58

0 Answers0