harmony-one / experiment-deploy

Repo for conducting benchmark experiments
20 stars 15 forks source link

Snapshot Recovery Script #351

Closed Daniel-VDM closed 4 years ago

Daniel-VDM commented 4 years ago

This closes https://github.com/harmony-one/harmony/issues/2998

Recovery design

The script will use some assumptions given by the nature of being in the pipeline. That said, the script makes such assumptions in contained units, therefore minimal edits would be needed should such assumpts be no longer valid. Here are the assumptions:

  • node_ssh.sh needs to be in the same directory as the script and never requires interaction.
  • /../tools/snapshot/rclone.conf contains the default rclone config for a node to download the snapshot db.
  • /utils/scripting.py is a python3 library

Internally here is the doc.