Skip to content

sqlite3.DatabaseError: file is not a database #25

Description

@soundsk

Hi!

Trying to use this to decrypt and recover files from an old iPhone backup but keep getting this error, any idea what's wrong?
Thanks!

>>> b=iOSbackup(
...     udid="64004deb35e37f1ce7e698bd4b9a1926aae37d59",
...     cleartextpassword="supersecretpassword",
...     backuproot='Backup'
... )
>>> 
>>> 
>>> b.getFolderDecryptedCopy(
...     includeDomains='CameraRollDomain',
...     targetFolder='restored-photos',
... )
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/dist-packages/iOSbackup/__init__.py", line 654, in getFolderDecryptedCopy
    backupFiles = catalog.cursor().execute(query).fetchall()
sqlite3.DatabaseError: file is not a database
>>> 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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