- Pull logs and nanos gently to a local machine for offline processing.
Rocky Linux 9.4, bash
Great with vdash to view logs without stealing CPU cycles from safenodes.
sudo dnf -y install sshpass rsync #remote machine needs to have rsync installed too
mkdir -p $HOME/<myofflinefolder>/local/share/safe/node
sshpass -p 'passwordsecret' rsync -avz -e 'ssh -p <portnumber>' --bwlimit=100 --progress --exclude='record_store' <user>@<host>:/home/<user>/.local/share/safe/node/ $HOME/<myofflinefolder>/local/share/safe/node/
vdash $HOME/*/local/share/safe/node/*/logs/safenode.log