/pydbk

A Python tool to extract .dbk archives

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

Pydbk: A Python tool to extract .dbk archives

Pydbk consists of a python module pydbk.py and a command line tool pydbk_cli.py.

Installation

Install using pip:

pip install pydbk

Usage

Extract a .dbk archive:

pydbk path/to/file.dbk destination/dir

If no destination is specified, pydbk will create a directory ./extracted:

pydbk path/to/file.dbk

Get help:

pydbk --help
usage: pydbk [-h] [-v] [-c] [-d] [-t] source [destination]

Pydbk: A Python tool to extract .dbk archives.

positional arguments:
  source          source file to extract files from (.dbk)
  destination     destination directory to extract files to

options:
  -h, --help      show this help message and exit
  -v, --verbose   verbose mode (print detailed output)
  -c, --check     check if .dbk archive is complete
  -d, --dry-run   run program without writing files to the destination
  -t, --mod-time  do not overwrite modification date of extracted files

What is a .dbk file?

A DBK file is a mobile phone backup file created by Sony Ericsson PC Suite, a program used to manage Sony Ericsson mobile phones. It contains multiple Zip-compression files that store various phone information such as the names and phone numbers of contacts. DBK files are used to back up phone information in the event that the phone is lost or broken. (fileinfo.com)