๐Ÿ”Backups

Backing up your Alby Hub is essential to ensure your funds can be recovered in case you lose access to your node. Taking the time to do it right ensures everything is safe and easily recoverable.

This guide applies to the default node implementation of Alby Hub (LDK) only. If you're using a different node backend, please refer to its documentation for backup instructions.

  1. Channel backup

    1. Automatic Backups (part of โœจ Alby Subscription)

    2. Manual Backups (self-hosting)

Types of Backups

1. Recovery Phrase

  • What It Does Restores any funds in your Savings Balance.

  • Limitations Any funds held in channels will be lost, unless you also have a backup of your channels. (see below)

2. Channel backups

Channel backups can only be restored if you have the Recovery Phrase.

2.1 Automatic Backups (part of โœจ Alby Subscription)

  • What It Does Asks your channel partners to force-close the channel to your node. Backups are being made after each channel opening / closure automatically and are encrypted before they are stored along with your Alby Account.

  • Limitations Funds from channels may take up to 14 days to return. You will need to open new channels to continue sending and receiving transactions.

2.2 Manual backups (self-hosting)

You need to make this backup each time you have a new channel. If new channels were made after the backup, you could risk losing funds.

  • What It Does Asks your channel partners to force-close the channel to your node.

  • Limitations Funds from channels may take up to 14 days to return. You will need to open new channels to continue sending and receiving transactions.

  • How to backup the self-hosted version of Alby Hub:

    1. Go to the working directory of your Alby Hub

    2. Back up the newest file in .data/ldk/static_channel_backups/

Backup Checklist


Congratulations! ๐ŸŽ‰ You've successfully learned how to back up your Alby Hub, ensuring the safety of your funds and channels. Remember to always keep your Recovery Phrase, unlock password, and latest channel backup handy. With your backups in place, your hub is now well-protected and ready for any situation! ๐Ÿ”๐Ÿ“ฆ


Thank you for stopping by! This section was created with contributions from Renรฉ, Roland & Jean-Paul

Last updated

Logo

Your bitcoin & nostr companion / from ๐Ÿ with ๐Ÿงก