#1714 add scp command for windows (#1731)

This commit is contained in:
geco91
2020-10-30 12:26:20 +01:00
committed by rootzoll
parent e622887d71
commit 6dab030799

View File

@@ -74,16 +74,17 @@ if [ ${mode} = "backup" ]; then
echo "* DOWNLOAD THE RESCUE FILE *" echo "* DOWNLOAD THE RESCUE FILE *"
echo "****************************" echo "****************************"
echo echo
echo "ON YOUR LAPTOP - RUN IN NEW TERMINAL:" echo "ON YOUR MAC & LINUX LAPTOP - RUN IN NEW TERMINAL:"
echo "scp -r 'admin@${localip}:/home/admin/lnd-rescue-*.tar.gz' ./" echo "scp -r 'admin@${localip}:/home/admin/lnd-rescue-*.tar.gz' ./"
echo "ON WINDOWS USE:"
echo "scp -r admin@${localip}:/home/admin/lnd-rescue-*.tar.gz ./"
echo "" echo ""
echo "Use password A to authenticate file transfer." echo "Use password A to authenticate file transfer."
echo "Check for correct file size after transfer: ${byteSize} byte" echo "Check for correct file size after transfer: ${byteSize} byte"
echo echo
echo "BEWARE: Your Lightning node is now stopped. It's safe to backup the data and" echo "BEWARE: Your Lightning node is now stopped. It's safe to backup the data and"
echo "restore it on a fresh RaspiBlitz. But once this Lightning node gets started" echo "restore it on a fresh RaspiBlitz. But once this Lightning node gets started"
echo "again or rebooted its not adviced to restore the backup file anymore because" echo "again or rebooted its not adviced to restore the backup file anymore."
echo "it cointains then outdated channel data & can lead to loss of channel funds."
elif [ ${mode} = "restore" ]; then elif [ ${mode} = "restore" ]; then