How to move your Albyhub from one device to another in 10 steps and 2 command lines

How to move your Albyhub from one device to another in 10 steps and 2 command lines.
Since “Migrations from and to LND-based Alby Hubs (e.g. Umbrel or Start9) are not supported currently”, honestly, I did this while sweating nervously. But in the end, it was easier than I imagined, and it worked.

  1. Install LND and Albyhub on your new Umbrel Home (this assumes you already have your Bitcoin node fully synced and running).
  2. Once installed, stop the LND and Albyhub applications on both the new and old devices. You can do this from the graphical interface.
  3. Open a terminal on each device (the old one and the new one).
  4. (Just in case) Verify that all four applications are stopped.

On the new Umbrel Home:
5. Delete the path /umbrel/app-data/lightning/data (you can do this with: sudo rm -r /umbrel/app-data/lightning/data)
6. Do the same with the path /umbrel/app-data/albyhub/data (you can do this with: sudo rm -r /umbrel/app-data/albyhub/data)

On the old Umbrel Home:
7. Copy the LND path /umbrel/app-data/lightning/data to your new device. You can do this with:
sudo scp -r /umbrel/app-data/lightning/data umbrel@<your new Umbrel Home IP>:/umbrel/app-data/lightning
8. Copy the Albyhub path /umbrel/app-data/albyhub/data to your new device. You can do this with:
sudo scp -r /umbrel/app-data/albyhub/data umbrel@<your new Umbrel Home IP>:/umbrel/app-data/albyhub
9. Important! Remove the LND and Albyhub applications from the graphical interface.

On the new Umbrel Home:
10. Start only LND from the graphical interface. Umbrel Home might get overloaded when doing this. Be patient and wait for everything to return to normal. If after a while it still doesn’t work, consider rebooting the device somehow.
11. Once you’ve confirmed your LND is restored on the new device, start Albyhub and log in with your old device’s password.

That’s it.

Hi!

In case someone else read, an Alby Hub installed with LDK as the backend node can be easily migrated with an Alby’s official procedure for migration that requires no command lines and just a couple of clics.

1 Like

No more to say.
Solved