hermeznetwork / hermez-node

Hermez node Go implementation
GNU Affero General Public License v3.0
58 stars 33 forks source link

Hermez Node Database Import Tool #1100

Open tclemos opened 3 years ago

tclemos commented 3 years ago

Rationale

Inspired by the solution provided for the issue #897

Since we have the whole back up in one file, what do you guys think about creating a new command like backup-restore to apply the backup from the zip file?

Implementation

it could be something like this

dist/heznode backup-restore --mode coord --cfg cmd/heznode/cfg.builder.toml --path /home/ubuntu/hez-node/file.zip

I'm also not sure about the backup-restore command name, naming things is hard! :(