Skip to content

problem extracting backup.db #318

@motionthings

Description

@motionthings

Describe the bug
Getting a 'utf-8' error message when trying to extract backup.db with dd command

To Reproduce
$ dd if=backup.ab bs=1 skip=24 | python -c "import zlib,sys;sys.stdout.write(zlib.decompress(sys.stdin.read()))" | tar -xvf -
23+0 records in
23+0 records out
23 bytes copied, 5.1124e-05 s, 450 kB/s
Traceback (most recent call last):
File "", line 1, in
import zlib,sys;sys.stdout.write(zlib.decompress(sys.stdin.read()))
File "", line 325, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xda in position 1: invalid continuation byte
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
[ble: exit 2]

Platform:
EndeavourOS (Arch)

Am I missing a library of some sort?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions