blixt-wallet icon indicating copy to clipboard operation
blixt-wallet copied to clipboard

Backup to NextCloud

Open hsjoberg opened this issue 3 years ago • 6 comments

Could possibly use: https://www.npmjs.com/package/webdav

https://stackoverflow.com/a/61784589

Let's implement generic WebDAV support.

Bounties for this issue:

20k sats alaznem 20k sats Hampus

hsjoberg avatar Sep 15 '21 10:09 hsjoberg

:information_source: there has been set out a 20k sats bounty for this issue in this nostr note.

An alternate bounty payout condition is this (according to another nostr note in the same thread as the note referenced above): "Implement automated write channeldb backup into local folder whenever the channeldb changes." This could maybe complete #1032 in one go.

To claim the bounty, contact this nostr npub, or better reply to the bounty issuing note

alaznem avatar Feb 28 '23 08:02 alaznem

Thank you for this bounty @alaznem. This is great. Alternative backup strategies is definitely something Blixt Wallet needs.

hsjoberg avatar Feb 28 '23 10:02 hsjoberg

I'm not sure if mentioning Apps which have this kind of backup functionality is worth to mention from the developers perspective.

Nevertheless: The Android App Aegis has a nice backup implementation which watches the db for changes and writes to the disk if the App db changed.

To go this path: Which kind of backup solution of another app can be integrated easily into blixt? If there are some guidelines to look after what, maybe someone other than @hsjoberg could do this work.

alaznem avatar Mar 09 '23 13:03 alaznem

@alaznem I think that would definitely help. Especially examples where react-native is used, as that's what Blixt Wallet uses.

Which kind of backup solution of another app can be integrated easily into blixt?

The backup solution will have to be lnd's Static Channel Backups ("SCB"). This is what we do for the other solutions (iCloud, Google Drive and manual). The implementer should follow how we currently do things with iCloud and Google Drive.

Doing backup of the actual database is possible, but not safe without eltoo, and thus not practical for the moment being.

hsjoberg avatar Mar 17 '23 00:03 hsjoberg

I'll match the current bounty of 20k sats.

hsjoberg avatar Apr 12 '23 13:04 hsjoberg

I will add 50k sats to the bounty, if you add the option to backup to NAS / FTP location.

Darth-Coin avatar Nov 28 '23 17:11 Darth-Coin