v0.0.4 device in message and log restore db