Coder Social home page Coder Social logo

backup-shardeum's Introduction

Backup & Restore Shardeum

Backup

Dành cho bạn nào đang chạy node Shardeum, trường hợp bí bách sắp hết hạn VPS. Mà không lấy được Key của Validator, hiện tại dự án Shardeum họ chưa share, nhưng mà nhìn AE đang vướng chỗ này.

Chạy lệnh này để lấy key nhé:

docker exec shardeum-dashboard cat cli/build/secrets.json

Lưu lại đoạn mã {"publicKey":"","secretKey":""} này để sau này Restore.

Restore

Lưu ý dùng Mobaxterm hoặc Termius để dễ copy paste trong nano.

Sau khi chuyển VPS mới và cài shardeum.

Bước 1 :

cd .shardeum

Bước 2 :

Nếu node đã start trước đó thì vào ./shell.sh chạy lệnh operator-cli stop thì mới bắt đầu làm tiếp bước dưới.

docker exec shardeum-dashboard cat cli/build/secrets.json

-> không lưu lại đoạn mã này, mục đích để tạo ra file secrets.json để lấy đoạn mã của node cũ chép vào

Bước 3 :

./shell.sh

Bước 4 :

sudo apt install nano

Bước 5 :

nano cli/build/secrets.json

Bước 6 :

Ctrl + K để xóa dòng secrets hiện tại, copy {"publicKey":"","secretKey":""} ở node VPS cũ dán vào.

Ctrl + X

Y

Bước 7 :

operator-cli start

From Jack - Cộng đồng chạy Node & Validator VietNam, nơi thảo luận và chia sẻ kinh nghiệm về chạy node/validator, không bàn luận chính trị. Chanel: https://t.me/RunnodeVietNamese Youtube: https://www.youtube.com/@nodevalidatorvietnam Twitter: https://twitter.com/Node

backup-shardeum's People

Contributors

validatorvn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.