mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 18:22:01 +01:00
#1147 backuping scb to admin backup directory
This commit is contained in:
parent
6a11982078
commit
9ddf800553
@ -202,10 +202,9 @@ do
|
||||
echo "--> Channel Backup File changed"
|
||||
|
||||
# make copy to sd card (as local basic backup)
|
||||
# ToDo(frennkie) /home/admin/.lnd/ no longer is on the SD card
|
||||
sudo mkdir -p /home/admin/.lnd/data/chain/${network}/${chain}net/ 2>/dev/null
|
||||
sudo cp /mnt/hdd/lnd/data/chain/${network}/${chain}net/channel.backup /home/admin/.lnd/data/chain/${network}/${chain}net/channel.backup
|
||||
echo "OK channel.backup copied to '/home/admin/.lnd/data/chain/${network}/${chain}net/channel.backup'"
|
||||
sudo mkdir -p /home/admin/backups/scb/ 2>/dev/null
|
||||
sudo cp /mnt/hdd/lnd/data/chain/${network}/${chain}net/channel.backup /home/admin/backups/scb/channel.backup
|
||||
echo "OK channel.backup copied to '/home/admin/backups/scb/channel.backup'"
|
||||
|
||||
# check if a SCP backup target is set
|
||||
# parameter in raspiblitz.conf:
|
||||
|
Loading…
Reference in New Issue
Block a user