(EN below)
Bonjour,
Ça devait bien arriver un jour et voilà, le disque dur de mon PC/serveur Yunohost a rendu l’âme et juste avant noël !.
Oui, ok ca n’a rien à voir … mais j’avais autre chose à faire.
Bon d’un autre côte, a-t-on vraiment du temps pour s’occupe de pannes …
Je suis en train d’en faire une image du disque avec DDrescue-gui mais, il comporte de nombreux secteurs défectueux. Je sais déjà que je ne pourrais pas booter sur l’image, mais je ne suis même pas sûr que je pourrais récupérer les sauvegardes que j’avais mis en place avec archiviste.
Je faisais bien une copie du dossier de sauvegarde de temps en temps sur mon pc avec un script “rsync -avzh -e ssh …”, mais pas de manière automatique … On verra bien ce que je récupère.
J’avais peut-être aussi mis en place une sauvegarde avec Borg sur un autre serveur Yunohost, mais je ne suis pas sûr et je n’arrive pas à retrouver les infos sur l’autre serveur.
Du coup, je veux bien un coup de main et des conseils pour organiser la réinstallation et la restauration des données siouplai
Si je repars d’une nouvelle installation de yunohost, je peux restaurer :
La configuration de base de Yunohost et la messagerie avec
ynh_core_backup.tar.gz qui date du 22/12 ( hé! c’est pas si vieux ! )
Les applis et leurs données avec :
22/12 jirafeau_backup.tar.gz
22/12 nextcloud_backup.tar.gz
21/12 opensondage_backup.tar.gz
10/12 shaarli_backup.tar.gz
10/12 roundcube_backup.tar.gz
10/12 kanboard_backup.tar.gz
10/12 baikal_backup.tar.gz
10/12 agendav_backup.tar.gz
22/09 archivist_backup.tar.gz
22/09 borgserver_backup.tar.gz
24/05 shellinabox_backup.tar.gz
et une sauvegarde globale : 20201029-105839.tar.gz
Le reste des sauvegardes, ce sont des pre-upgrade ou des applis que je n’utilise plus.
Si je ne me trompe pas, je peux tenter la récup dans cet ordre :
Installation de YUNOHOST
Restauration du backup ynh_core
je serais bien tenté à ce moment par un reboot de Yunohost
Restauration des autres applis …
À moins de commencer par la restauration du backup global même s’il est ancien et ensuite restauration des backups plus récent …
Qu’en pensez-vous ?
Cyril
Hello,
It was bound to happen one day and voilà, the hard drive on my Yunohost PC/server gave up the ghost and just before Christmas!
Yes, ok it’s nothing to do … but I had something else to do.
On the other hand, do we really have time to deal with breakdowns…
I am in the process of making an image of the disk with DDrescue-gui but it has many bad sectors. I already know that I won’t be able to boot on the image, but I’m not even sure that I’ll be able to recover the backups I had set up with archivist.
I did make a copy of the backup folder from time to time on my pc with a script “rsync -avzh -e ssh …”, but not automatically … We’ll see what I recover.
I may also have set up a backup with Borg on another Yunohost server, but I’m not sure and I can’t find the information on the other server.
So I could use a hand and some advice on how to organise the reinstallation and restoration of the data Pleeaase
If I leave a new yunohost installation, I can restore :
Yunohost’s basic configuration and messaging with
ynh_core_backup.tar.gz dated 22/12 ( hey! it’s not that old ! )
The applications and their data with :
22/12 jirafeau_backup.tar.gz
22/12 nextcloud_backup.tar.gz
21/12 opensondage_backup.tar.gz
10/12 shaarli_backup.tar.gz
10/12 roundcube_backup.tar.gz
10/12 kanboard_backup.tar.gz
10/12 baikal_backup.tar.gz
10/12 agendaav_backup.tar.gz
22/09 archivist_backup.tar.gz
22/09 borgserver_backup.tar.gz
24/05 shellinabox_backup.tar.gz
and a global backup: 20201029-105839.tar.gz
The rest of the backups are pre-upgrades or applications that I don’t use anymore.
If I am not mistaken, I can try to recover them in this order:
Installing YUNOHOST
Restore backup ynh_core
I would be tempted at this time to do a Yunohost reboot.
Restoration of other applications …
Unless I start by restoring the global backup even if it is old and then restore the more recent backups …
What do you think about it?
Cyril