bee icon indicating copy to clipboard operation
bee copied to clipboard

Implement a "dump" feature to allow backup of data without stop the node

Open tmm360 opened this issue 2 years ago • 0 comments

Summary

Currently documentation says that to backup data node should be stopped. This is a bad practice in this context, because each node should stay connect as long as possibile, and this doesn't permit to have frequent backups.

A better option would be to implement a dump feature, to allow to stream or eventually save on files a specific snapshot of the system.

This could also allow to ignore backup of random data from the net, and restrict backups to only keys, pinned data and node state. In this way backups can be optimized to maintain only relevant data to the user.

A reverse feature to import data would allow to restore this kind of data.

Motivation

Current system doesn't permit to have well formed backup keeping online node connections.
Moreover, to have "dump/restore" operations would permit data migration for pinned data from a node to another in a simple way.

Implementation

Additional tools have to be introduced. Moreover local storage have to allow for snapshots on it.

Drawbacks

Nothing.

tmm360 avatar Aug 21 '23 17:08 tmm360