My YunoHost configuration
Hardware: internetcube (lime 1)
Internet access: ethernet at home
After my 32Go SD card has crashed, I’m trying to restore yunohost. I have a 4Go µSD and a HDD with sda8 available in ext4. My installation took 8Go on the previous SD card and it probably crashed because I installed a swap on it (lime 1, 512Mo).
I have several backups from the time the SD was stable. 3 full backups that weight between 300 and 900Mo and some app-pre-upgrade-backups. I also copied the content of the corrupted SD card as a backup but I don’t remember if it was before or after it crashed.
With the idea given in Transfert d'une instance Yunohost vers un nouveau serveur in mind, I followed these steps :
-
Flash the SD card with yunohost jessie image without doing the post-installation following YunoHost • index until
Etapes de configuration
(not included) -
Move root directory on the sda8 of the HDD and keep \boot on SD card following
howto:install_sata [Internet Cube] -
Copy my backups on /home/yunohost.backup/archives using
https://yunohost.org/#/backup_fr
-
Run
yunohost backup restore 2018****-******
-
Following [Résolu] Restauration error and Problème de restauration de sauvegarde suite à réinstallation - #8 by Jaxom99 I tried 4. again after
apt install archivemount
and get
Erreur : Archive de sauvegarde incorrecte
then I tried 4) after removing it and also removing apt remove fuse
and I get
Attention : Le montage de l’archive de sauvegarde a échoué
Traceback (most recent call last):
File “/usr/bin/yunohost”, line 219, in
timeout=opts.timeout,
File “/usr/lib/python2.7/dist-packages/moulinette/init.py”, line 136, in cli
moulinette.run(args, output_as=output_as, password=password, timeout=timeout)
File “/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.py”, line 390, in run
ret = self.actionsmap.process(args, timeout=timeout)
File “/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py”, line 498, in process
return func(**arguments)
File “/usr/lib/moulinette/yunohost/backup.py”, line 2140, in backup_restore
restore_manager.mount()
File “/usr/lib/moulinette/yunohost/backup.py”, line 1025, in mount
self.method.mount(self)
File “/usr/lib/moulinette/yunohost/backup.py”, line 1788, in mount
tar.extract(‘info.json’, path=self.work_dir)
File “/usr/lib/python2.7/tarfile.py”, line 2098, in extract
tarinfo = self.getmember(member)
File “/usr/lib/python2.7/tarfile.py”, line 1819, in getmember
raise KeyError(“filename %r not found” % name)
KeyError: “filename ‘info.json’ not found”
I tried yunohost backup list
and received
Erreur : YunoHost n’est pas ou pas correctement installé. Veuillez exécuter « yunohost tools postinstall »