Support for live backup, TTL, streams, batch - LevelDB database
Run the following command in the root directory of your Node-RED install
npm install node-red-contrib-leveldb-hyper-ttl or npm install git://github.com/jonn26/node-red-contrib-leveldb-hyper-ttl.git
This fork of node-red-contrib-leveldb-ttl just adds live backup functionality via a new level-ttl backup node. This is done by using the alternate level-hyper package which has live backup built in.
See level-hyper for more details: https://github.com/Level/level-hyper
Usage of backup node
Use this node to perform a live backup of the database. The name parameter is a String. A successful live backup will result in a backup folder named backup-:name inside the location folder of the current database. The backup name can be set by the msg.payload or in the properties of this node which overrides anything specified in the msg.payload.
Usage of the other leveldb nodes