forked from raspibolt/raspibolt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The basic setup stores all data on the same external drive that also holds the operating system. This storage is not mounted as a separate drive. Therefore, using a data directory like '/mnt/whatever' does not seem appropriate and is misleading. The new '/data/' directory can still be a mountpoint, or an external drive can be mounted as '/mnt/data', with '/data' linking to it.
- Loading branch information
Showing
8 changed files
with
43 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ Copy it to a USB thumbdrive, so that you can restore it later. | |
* Copy the whole LND data directory to the thumbdrive | ||
|
||
```sh | ||
$ sudo rsync -rhv /ext/mnt/lnd /mnt/thumbdrive/ | ||
$ sudo rsync -rhvP --append-verify /mnt/ext/lnd /mnt/thumbdrive/ | ||
``` | ||
|
||
* Also make sure to create a Static Channel Backup file and copy it to the thumbdrive | ||
|
@@ -72,7 +72,7 @@ That could result in you losing all your funds. | |
* Move your LND directory to prevent the node starting again by accident. | ||
|
||
```sh | ||
$ sudo mv /ext/mnt/lnd /ext/mnt/lnd-do-never-start-again | ||
$ sudo mv /mnt/ext/lnd /mnt/ext/lnd-do-never-start-again | ||
``` | ||
|
||
Once you set up your new RaspiBolt 3, restore your old LND node setup. | ||
|
@@ -86,7 +86,7 @@ Once you set up your new RaspiBolt 3, restore your old LND node setup. | |
$ sudo mkdir /mnt/thumbdrive | ||
$ lsblk -pli | ||
$ sudo mount /dev/sdb1 /mnt/thumbdrive/ | ||
$ sudo rsync -rhv /mnt/thumbdrive/ /ext/mnt/lnd | ||
$ sudo rsync -rhvP --append-verify /mnt/thumbdrive/lnd /data | ||
``` | ||
|
||
### Backup & Restore Bitcoin data | ||
|
@@ -101,13 +101,13 @@ When **Reusing the old drive** for your new node, you must first copy the data t | |
* Example for network copy | ||
|
||
```sh | ||
$ rsync -rhv [email protected]:/mnt/ext/bitcoin /your-local-directory | ||
$ rsync -rhvP --append-verify [email protected]:/mnt/ext/bitcoin /your-local-directory | ||
``` | ||
|
||
* Example for local drive-to-drive copy with both drives mounted | ||
|
||
```sh | ||
$ rsync -rhv /mnt/old-raspibolt-drive/bitcoin /mnt/new-drive/mnt/data | ||
$ rsync -rhvP --append-verify /mnt/old-raspibolt-drive/bitcoin /mnt/raspibolt-v3-drive/data | ||
``` | ||
|
||
--- | ||
|
@@ -120,7 +120,7 @@ For a specific command, you can enter `man [command]` to display the manual page | |
| command | description | example | | ||
| -- | -- | -- | | ||
| `cd` | change to directory | `cd /home/bitcoin` | | ||
| `ls` | list directory content | `ls -la /mnt/ext` | | ||
| `ls` | list directory content | `ls -la /data` | | ||
| `cp` | copy | `cp file.txt newfile.txt` | | ||
| `mv` | move | `mv file.txt moved_file.txt` | ||
| `rm` | remove | `rm temporaryfile.txt` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters