Forum for English speaking Miranda NG users > Support/Help

Database file format documentation

(1/1)

slash3r:
Hello. This is my first time posting here, so I hope that this is the correct place to ask this question.

I've just ditched Trillian for Miranda NG a few days a go. I got it setup almost perfectly for my likings, the only thing I would like to do now is to merge the chat history from my home instance with the one from my office instance. As I understand, the history is kept in the database file. I'm not looking for a working plugin to do my work, I'm just curious if there is some documentation for the database file format, so I can implement my own tool to do this. In lack of such a think I can always look at the source code, but it never hurts to ask first.

Wishmaster:
If you want to implement your own tool, you should do it as a Miranda plugin. There are internal services documented to add events to the database and such. That's the recommended way.

If you want to write your own tool to read/write the database, it is going to be much more complicated, especially if you're dealing with the encrypted databases. You would risk serious corruption.

Awkward:
will add one piece: if you just want to combine history from 2 instances, use "built-in" Import plugin

slash3r:
Thank you both for your replies. I'll try the plugin way, and if that doesn't work too well I'll have a look at the Import plugin source code. I'm not worried about the database encryption, for now, as I want you pull out the deltas from the database (between start-up and shutdown), encrypt and transmit them (using Dropbox, personal VPS etc.), decrypt and import on the other side.

Navigation

[0] Message Index

There was an error while thanking
Thanking...
Go to full version