mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 00:52:55 +01:00
parent
43cd6fc61e
commit
17a75e84b3
5 changed files with 10 additions and 16 deletions
20
README.md
20
README.md
|
@ -975,29 +975,29 @@ If you want to get one step further in securing your funds against total fall-ou
|
|||
|
||||
#### A) DropBox Backup Target
|
||||
|
||||
Activate the StaticChannelBackup to DropBox in the `SERVICES` menu of your RaspiBlitz. It will ask you for the Dropbox-Authtoken. This is how you can get this token:
|
||||
Activate the StaticChannelBackup to DropBox in the `SETTINGS` menu of your RaspiBlitz. It will ask you for the Dropbox-Authtoken. This is how you can get this token:
|
||||
|
||||
Go to your web browser, do the following:
|
||||
|
||||
1. Go to https://www.dropbox.com/developers/apps/create and sign in.
|
||||
|
||||
1. Choose **Dropbox Api**.
|
||||
1. Choose **Create App**.
|
||||
|
||||

|
||||

|
||||
|
||||
1. Choose **App Folder**.
|
||||
Choose the 'Scoped Access' & 'App Folder' and set a unique name - for example `LNDbackup` with a random number behind it. Agree to Terms of Service and click 'Create App'.
|
||||
|
||||

|
||||
1. Set **Permissions**.
|
||||
|
||||
1. Name your app and click **Create App** to proceed.
|
||||

|
||||
|
||||

|
||||
Its important first to select the `Permissions` tab and activate the `files.content.write` permission. Dont forget to `Submit` the change before continue.
|
||||
|
||||
1. On the settings page for your new app, scroll down to **OAuth 2** and click **Generate**.
|
||||
1. Generate **OAUth2 Token**.
|
||||
|
||||

|
||||

|
||||
|
||||
1. You will now see a string of letters and numbers appear. This is your **Dropbox-Authtoken**.
|
||||
Now go back to the 'Settings' tab and under 'OAuth2' click the 'Generate' button. You will now see a long string of letters and numbers appear. This is your **Dropbox-Authtoken**. Make sure to copy the complete token string .. there might be more if you scroll to the right in the token field.
|
||||
|
||||
To test it, try opening or closing a channel, and then check if you can find a copy of `channel.backup` in your Dropbox. You can check the background-script logs to see details on errors: `sudo journalctl -f -u background`
|
||||
|
||||
|
|
|
@ -34,12 +34,6 @@ https://github.com/rootzoll/raspiblitz/#a-dropbox-backup-target" 11 70 2>/home/a
|
|||
shred -u /home/admin/.tmp
|
||||
fi
|
||||
|
||||
# quick check on authtoken
|
||||
if [ ${#authtoken} -gt 80 ]; then
|
||||
echo "err='authtoken unvalid'"
|
||||
exit
|
||||
fi
|
||||
|
||||
# set in config - that acivates the dropbox back in background process
|
||||
if [ ${#authtoken} -gt 0 ]; then
|
||||
if [ ${#dropboxBackupTarget} -eq 0 ]; then
|
||||
|
|
BIN
pictures/dropbox-1.png
Normal file
BIN
pictures/dropbox-1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
BIN
pictures/dropbox-2.png
Normal file
BIN
pictures/dropbox-2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 58 KiB |
BIN
pictures/dropbox-3.png
Normal file
BIN
pictures/dropbox-3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
Loading…
Add table
Reference in a new issue