level-lvldump

Exposes an http route that returns a tarballed leveldb. Solves a use case similar to mysqldump.

npm install level-lvldump
4 downloads in the last month

level-lvldump

  • Returns some middlewares you can use to make dumping/pushing your leveldb over http possible
  • Mostly to solve the "leveldb on nodejitsu" problem
  • Kind of a hack
  • Might break your leveldb for all I know (gotta ask rvagg about that one)

API

var dump = require('level-lvldump')(db);
  • dump.dump is a middleware that will pipe back a tarball using system tar
  • dump.push is a middleware that will unpack a tarball using system tar

License

MIT/X11

npm loves you