4

I have a copy of addressbook from Nokia N900 and it's a Berkeley DB file. How can I view it's contents?

$ file addressbook.db 
addressbook.db: Berkeley DB (Hash, version 8, native byte-order)
int_ua
  • 8,394
  • 12
  • 78
  • 144

3 Answers3

2

Install db-util. There are several in Ubuntu Software Center (for example db5.3-util). The latest version via command line:

sudo apt-get install db-util

After installing all you need to do is:

db_dump addressbook.db 

Description of an old version from USC:

enter image description here

MCCCS
  • 103
  • 5
Rinzwind
  • 293,910
  • 41
  • 570
  • 710
1

For this specific DB I have to use this script:

https://github.com/tersmitten/n900-backup-extractor

( http://blog.tersmitten.nl/how-to-export-your-contacts-from-a-n900-backup-directory.html )

int_ua
  • 8,394
  • 12
  • 78
  • 144
1

If you have postfix installed, try

postmap -s <database-file-name>

For example, with the two files virtual and virtual.db, where virtual is the text file from which virtual.db was made with makemap, use

postmap -s virtual

Note that you do not have to specify the .db extension.

graham
  • 9,753
  • 18
  • 37
  • 59
pbw
  • 11
  • 1