githubEdit

Step 2

Copy Files from the Old Instance

Define Variables

# SSH Private Key Path
SSH_KEY_PATH="ssh_private_key_path"  
# The path to your SSH private key used for secure authentication.  
# This key allows passwordless login to the remote instance.  
# Example: `~/.ssh/id_rsa`

# Supra Validator Home Directory
SUPRA_HOME="path_of_supra_home_folder"  
# The directory where all Supra Validator configuration, key files, and logs are stored.  
# Example: `/home/ubuntu/supra`

# Remote Server Username
REMOTE_USER="username"  
# The username used for SSH login on the remote instance.  
# Example: `ubuntu`
  
# Remote Server IP Address
REMOTE_IP="your_remote_ip"  
# The IP address of the remote machine where the validator is being migrated.  
# Example: `192.168.1.100` 

Transfer Essential Files using rsync

Note:

  • You can use other tools to transfer the data. Please keep a backup of the files.

  • If you want to keep a recent history of your validator node then you copy the remaining files and folder mentioned below.

a. supra_history

b. Supra_node_logs

Optional: Copy Validator History Files

Note:

  • You can use other tools to transfer the data from the old to the new Instance. Please keep a backup of the files somewhere.

\