ohhh i missed that part then... but if your issue then is just loosing all the messages (not sure why that would happen but i beleive you) there is probably some way you can save then restore the file system that backs it.
Sorry i dont have a horse in this race it seems, I missed something critical I think