Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate historical data between Chaingraph instances #49

Open
bitjson opened this issue Nov 24, 2021 · 0 comments
Open

Migrate historical data between Chaingraph instances #49

bitjson opened this issue Nov 24, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@bitjson
Copy link
Member

bitjson commented Nov 24, 2021

Chaingraph is designed to be easy to spin up and replace. Since most of Chaingraph's data is simply historical blockchain data, there's very little data in existing Chaingraph databases which can't be replicated by a new initial sync.

It would be valuable to develop an export/import method to preserve a normalized copy of the data which is not easily replaceable: node_transaction_history, node_block_history, any unconfirmed transactions, and any stale blocks. The export should not use any internal_ids (since these are not consistent from instance to instance), and the import script should be able to add the data from the export to an existing, synced Chaingraph instance.

@bitjson bitjson added the enhancement New feature or request label Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant