Venemo / node-lmdb

Node.js binding for lmdb
MIT License
361 stars 72 forks source link

Incremental backup and restore #185

Open KyleAMathews opened 3 years ago

KyleAMathews commented 3 years ago

Is this something that's supported in the library?

kriszyp commented 3 years ago

You can make a snapshot backup, which creates a file in the standard LMDB format (can be directly used as a DB if you want to restore it). But, LMDB does not currently have any support for incremental backup and restore. However, Howard Chu has mentioned that that might eventually be added: https://twitter.com/hyc_symas/status/1315651814096875520