Sync Groonga database on restart