btrbk
btrbk copied to clipboard
btrbk_restore_raw.py: wrong assert and decompress programs
I tried to use btrbk_restore_raw.py but stumbled across two issues:
- Wrong assert for "INCOMPLETE" field
- It's assumed that the file extension for compressed files is also the name of the program to decompress, this is not the case for "gz" and maybe others I don't know of.
I fixed these two small issues in this.