Skip to content

[FEATURE] Copy live dbs #2641

@tac0turtle

Description

@tac0turtle

Problem to solve

We would like to have a solution to copy live dbs instead of having to stop the node in order to take snapshots. this is supported with reth via mdbx_copy, we still need to understand how to predict the block height in the copy. With badger DB we will need to extend the store to have a cli that allows us to copy a specific height.

If we are unable to predict the mdbx_copy height we can do a flow where the user first copies the reth database then figures out the height and then dumps that height from ev-node. this would make things simple.

Proposed solution or feature

Add a backup store method to allow to backup specific heights to store. This should be done via a cli command while the node is running.

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions