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 :
-
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)
-
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 -
Copy my backups on
/home/yunohost.backup/archives
using https://yunohost.org/#/backup_fr -
Run
yunohost backup restore 2018****-******
-
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
-
In case some apps have not been recovered successfully, apply some specific backup (pre-upgrade) or reinstall them.