mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 13:20:56 +02:00
#902 Adding migration script to GUI
This commit is contained in:
parent
93bca9b6e4
commit
b5aa33fab8
@ -49,7 +49,8 @@ RaspiBlitz image to your SD card.
|
||||
# Basic Options
|
||||
OPTIONS=(HARDWARE "Run Hardwaretest" \
|
||||
SOFTWARE "Run Softwaretest (DebugReport)" \
|
||||
BACKUP "Backup your LND data (Rescue-File)" \
|
||||
BACKUP-LND "Backup your LND data (Rescue-File)" \
|
||||
BACKUP-HDD "Backup HDD data (Migration-File)" \
|
||||
RESET-CHAIN "Delete Blockchain & Re-Download" \
|
||||
RESET-LND "Delete LND & start new node/wallet" \
|
||||
RESET-HDD "Delete HDD Data but keep Blockchain" \
|
||||
@ -70,12 +71,18 @@ case $CHOICE in
|
||||
read key
|
||||
/home/admin/00mainMenu.sh
|
||||
;;
|
||||
BACKUP)
|
||||
BACKUP-LND)
|
||||
sudo /home/admin/config.scripts/lnd.rescue.sh backup
|
||||
echo "Press ENTER to return to main menu."
|
||||
read key
|
||||
/home/admin/00mainMenu.sh
|
||||
;;
|
||||
BACKUP-HDD)
|
||||
sudo /home/admin/config.scripts/blitz.migration.sh "export"
|
||||
echo "Press ENTER to return to main menu."
|
||||
read key
|
||||
/home/admin/00mainMenu.sh
|
||||
;;
|
||||
RESET-CHAIN)
|
||||
/home/admin/XXcleanHDD.sh -blockchain
|
||||
/home/admin/98repairBlockchain.sh
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
||||
echo "# managing the RaspiBlitz data - import, export, backup."
|
||||
echo "# blitz.rescue.sh [status|export|import]"
|
||||
echo "# blitz.migration.sh [status|export|import]"
|
||||
echo "error='missing parameters'"
|
||||
exit 1
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user