I don’t think so. It seems there’s an error in the module, maybe the missing GPG key is not included in the backup, I’m going to check…
Thanks for pointing out.
The config restore uses eorepo to disable external repos so it seems only way is manually reinstalling external repos before config restore.
We could include the eorepo template that allows the external repos to the config backup but then eorepo makes no sense anymore as it secures Nethserver from probably broken external repos. @stephdl What do you think?
Sep 28 10:49:12 testserver eorepo: Repository mrmarkuz (mrmarkuz repo for Nethserver 7 - x86_64) has been disabled.
Sep 28 10:49:12 testserver eorepo: Repository stephdl (Stephdl (Stephane de Labrusse) repository for nethserver 7 - x86_64) has been disabled.
Sep 28 10:56:17 testserver esmith::event: No package nethserver-mrmarkuz available.
Sep 28 10:56:20 testserver esmith::event: No package nethserver-stephdl available.
we push some templates inside our rpm to avoid that eorepo disables our external repository, so yes I assume when you reinstall the configuration backup to a newer server our repository could be disabled
Maybe we could trick and save the tempate fragment by the configuration backup
My concern if I understand well is that I can provide the key and the configuration of my repository, the list of rpm won’t be reinstalled because my repository is disabled after the restoration to another server.
So I suppose the easier fix, maybe not the nicer could be to include in the configuration backup all the templates inside /etc/e-smith/templates/etc/nethserver/eorepo.conf/. Obviously we can exclude some official template fragments
At least this is what I do in my rpm, I include now /etc/e-smith/templates/etc/nethserver/eorepo.conf/45stephdl in the configuration backup
I see your point, but in any case partially are supported, and also documented into wiki. Thanks for allowing that but… if adding a thirdy party repository (also documented into wiki) make fully crash the yum mechanism, Backup of NethServer could be no more an option for me because it substantially failes to restore the server (with thirdy party repository)
But let me be blunt for a little: we involved 3 different developers, analysed the problem and searched for solutions. I’m even willing to modify the doc for your request … and you say it’s not enough. Why should I even spend more time on it?
IMVHO there’s should be a little bit of difference between talking and demanding.
Was never intended to expect the “fully satisfatory solution for the issue i encoundered”, just reporting what happened to me and (maybe) what could happen to another person who tried to restore from the configuration and data in case of disaster recovery.
I hope that was not misunderstood as “the project sucks because of the issue”, that’s not in my heart or in my thoughts; if anyway you or the developers felt bad about my answers, accept my apologies.
As free is the product, free are the experiences, the ideas, even the not always sharable goals between developers and adopters.
If you don’t feel right spending time on that… do what you please.
Again, thanks for the PR
every journey starts by a first step, mine was done when 7 years ago I asked what is a patch
Do not hesitate to propose, to do, to ask, this is the power of the community.
This has two ways to fix the issue, the core and the developer side. I have already fixed the issue on my rpm, if you want to update the nethserver-stephdl, do a config backup and try to restore to another server please