ExchangeUnion / xud

Exchange Union Daemon 🔁 ⚡️
https://exchangeunion.com
GNU Affero General Public License v3.0
115 stars 49 forks source link

Connext backup & restore #1545

Open kilrau opened 4 years ago

kilrau commented 4 years ago

xud-backup daemon should back up the connext folder the same way it does currently with the xud & lnd scb backup files + make sure it works with xud-docker

rsercano commented 3 years ago

For LND, backup happens by calling subscribeChannelBackups from LND side, but I couldn't see such a backup endpoint for connext? Could you please be more specific? @kilrau

kilrau commented 3 years ago

Hmm yeah needs https://github.com/connext/rest-api-client/issues/99 I guess. What we can do for now, is simply copy the connext folder in certain intervals. Thoughts? @sangaman @erkarl

erkarl commented 3 years ago

FYI, with Indra the channel state can also be restored from the node. Not ideal, but we might not want to invest time in V1 related activities since we're upgrading to V2 soon.

kilrau commented 3 years ago

Agreed, lets hold off on this one @rsercano