Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Fix blockchain:import / blockchain:export #7570

Closed
Tracked by #7210
shuse2 opened this issue Sep 23, 2022 · 0 comments · Fixed by #7653
Closed
Tracked by #7210

Fix blockchain:import / blockchain:export #7570

shuse2 opened this issue Sep 23, 2022 · 0 comments · Fixed by #7653

Comments

@shuse2
Copy link
Collaborator

shuse2 commented Sep 23, 2022

Description

blockchain:import and blockchain:export should pack all the necessary on-chain information.

- blockchain.db
- state.db
  • compress/decompress are already done in the existing command, so it should follow the same way

Motivation

All on-chain information must be able to backup and restore with the command

Additional Information

Currently, export is compressing the blockchain.db from data path and outputs tar ball and import is decompressing the tar ball and outputting to the data path.

@shuse2 shuse2 moved this to Backlog in Lisk SDK Version 6.0.0 Sep 23, 2022
@shuse2 shuse2 added this to the Sprint 80 milestone Oct 10, 2022
@Incede Incede self-assigned this Oct 16, 2022
@Incede Incede moved this from Backlog to In Progress in Lisk SDK Version 6.0.0 Oct 17, 2022
@Incede Incede moved this from In Progress to Pending Review in Lisk SDK Version 6.0.0 Oct 18, 2022
shuse2 added a commit that referenced this issue Oct 20, 2022
 Fix blockchain:import / blockchain:export - Closes #7570
Repository owner moved this from Pending Review to Done in Lisk SDK Version 6.0.0 Oct 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants