Search code examples
berkeley-db

Moving a Berkley Db from XP to Ubuntu


I have a bdb database which I have been using on my XP box. I am now migrating most of my apps etc to Linux (Ubuntu 9.10 to be precise).

I am not sure that simply moving the db files will work. Has anyone undergone this process of moving a BDB database from the windows platform to Linux before, and if so what is the procedure?.

Also, during the "migration" is there anything in particular that I need to be aware of (i.e. "gotchas")?


Solution

  • Short answer, yes, you can migrate the db files between machines/os. The files that bdb creates are cross platform, they only need to be read by bdb which makes this easy.

    The OTN Bdb forum is a really good place to ask bdb questions.