leveldb-tools
provides a simple way to dump your LevelDB (esp.
goleveldb
) database in a general, easily parsable
cdbmake
format.
It also provides a way to load from such formatted input.
leveldb-tools dump my.leveldb >my.cdbmake
leveldb-tools load my.leveldb <my.cdbmake
For example, cznic's kv database can be dumped in cdbmake format:
kvaudit -d my.kvdb | leveldb-tools load my.leveldb