A way to move an entire Yunohost to a new server

Ok I made a post about it here Moving from Contabo to Webdock – TIO - maybe I should not post it directly here since it is quite long. In essence is is super easy thanks to YNH. The most complicated is to figure out with the SSH connections…those gave me a lot of headaches :smiley:

In super short, but I’ll recommend the article:

  1. Get a new VPS with Debian

  2. Install Yunohost on it via SSH

  3. Considering you have Borg backups, install the Borg app via YNH, and connect it to your Borgbase.

  4. Via SSH grab the list of your Borgbase archives, then with another command select the one you want to download. First do so for your YNH config.

  5. Restore your YNH data (configs, users, etc.)

  6. Select your default domain and change the DNS for it.

  7. Proceed to download a new archive and restore it via the YNH backup then change the DNS.

I will move a much bigger server that requires the restoration of hundreds of GB per app…so let’s leave this post open for now.

I still do not know how to restore a backup via the command line? Anyone can help? Is there a yunohost command for that?

2 Likes