mrrfv / open-android-backup

Back up your device without vendor lock-ins, using insecure software or root. Supports encryption and compression out of the box. Works cross-platform.
http://openandroidbackup.me/
GNU General Public License v3.0
674 stars 37 forks source link

Add ability to set compression level or disable compression #36

Closed pvint closed 3 months ago

pvint commented 1 year ago

Based on the discussion in #32 I've added the ability to set compression level (1-9) or disable compression:

image

Summary: Set the compression level from 1-9, or set to 0 to disable compression and not run 7Zip at all. Tested and working for both backup and restore.

mrrfv commented 1 year ago

Thank you so much! It's getting late where I live, so I'll review your PR tomorrow.

pvint commented 1 year ago

The changes you suggest make sense and look good - I'll try to do them tomorrow and re-test.

Paul

mrrfv commented 1 year ago

Any updates?

kaktus40 commented 5 months ago

Hi, I'm very interested in disabled compression...

mrrfv commented 5 months ago

@kaktus40 You can use the discouraged_disable_archive environment variable if you really need to disable compression and encryption, see here for details.

3eggert commented 4 months ago

perhaps my pr:

make compression level adjustable #105

can help since this one seems abandoned.