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

Dump and restore smartbch #50

Open
sajal opened this issue Jan 27, 2022 · 0 comments
Open

Dump and restore smartbch #50

sajal opened this issue Jan 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@sajal
Copy link

sajal commented Jan 27, 2022

re: #22

To make a dump (make sure the donor smartbchd is stopped)

sudo tar --exclude=priv_validator_state.json --use-compress-program=pigz -cvf /tmp/smartbch.tar.gz -C data/smartbchd data

To restore (make sure the recipient smartbchd is stopped and clean)

sudo tar --use-compress-program=pigz -xvf  /tmp/smartbch.tar.gz -C data/smartbchd/
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

2 participants