Skip to content

Instantly share code, notes, and snippets.

@LeoHChen
Created May 11, 2020 19:35
Show Gist options
  • Save LeoHChen/8ec00763e4203b155f1c1b5ff9795fab to your computer and use it in GitHub Desktop.
Save LeoHChen/8ec00763e4203b155f1c1b5ff9795fab to your computer and use it in GitHub Desktop.
rclone db snapshot on dryrun network
## rclone setup/installation, rclone.conf
https://nodes.harmony.one/foundational-node-playbook/fast-state-syncing/fast-state-syncing-using-rclone
Noted for all non-beacon shard, the node need to sync both shard0 and their own shard's db.
## shard0
rclone sync mainnet:pub.harmony.one/mainnet.min/snapshot.20200501/harmony_db_0 harmony_db_0
## shard1
rclone sync mainnet:pub.harmony.one/mainnet.min/snapshot.20200504/harmony_db_1 harmony_db_1
## shard2
rclone sync mainnet:pub.harmony.one/mainnet.min/snapshot.20200505/harmony_db_2 harmony_db_2
## shard3
rclone sync mainnet:pub.harmony.one/mainnet.min/snapshot.20200505/harmony_db_3 harmony_db_3
@BrunoMarshall
Copy link

Please let me know if you want me to add this information to our documentation, or if the latest node.sh will have implemented rclone automatically for the necessary shards

@LeoHChen
Copy link
Author

this is only for dryrun network. For mainnet, we will use a newer snapshot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment