No worries, it’s the occasion to sum it up and refine the documentation.
- Perform a full backup (system and apps)
-
Install your new server, but do not perform the postinstallation step.
That one is either performed with the browser-based form or theDo not do it.yunohost tools postinstall
command. -
Download the backup (yes,
scp
is a solution, most likely better than trying to download a huge archive from the browser as shown first in the doc. You canscp
directly from the command line of the new server, and put the archive back into/home/yunohost.backup/archives/<archivename>.tar
) - Restore your backup from the command line:
yunohost backup restore <archivename>
- Change your DNS configuration at your registrar. That way, since DNS propagation varies widely, you have two servers offering the same content available at the same time, very useful for you not to lose visitors. Be careful if you have users generating content meanwhile, they have to check they are connecting to the new server (a ping to check the IP address should be enough).
- Delete your old server the next day, it should be long enough time for the new DNS records to propagate, and for you to make sure everything is working on the new one.
Side note for documentation editors, myself included: this antediluvian page has to be updated.