[Résolu] Restauration ou Migration de yunohost sur DD / [Solved] Restore or Migrate yunohost on a HDD

I finally found an older backup that was not corrupt, and which restored my yunohost successfully. I then added a swap file located on /swapfile
All apps have not been restored successfully, but applying specific backups, or reinstalling them allowed me to recover a satisfying server.

So, in the end I followed these steps :

  1. Flash the SD card with yunohost jessie image without doing the post-installation following yunohost.org/#/installation_brique_fr 1 until Etapes de configuration (not included)

  2. Move root directory / on the sda8 of the HDD and keep /boot on SD card following
    https://wiki.labriqueinter.net/doku.php?id=howto:install_sata

  3. Copy my backups on /home/yunohost.backup/archives using https://yunohost.org/#/backup_fr

  4. Run yunohost backup restore 2018****-******

  5. Add a swap file on the disk following “the faster way” given in https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04

  6. In case some apps have not been recovered successfully, apply some specific backup (pre-upgrade) or reinstall them.

1 Like