Obligé de faire 2 fois restaur en 4.0.61

Bonjour
Voici un petit probleme que j’ai depuis longtemps mais je fais avec car la solution est de faire une 2° restauration.
Je m’explique ,je suis en 4.0.61 et j’ai jeedom installé sur un rpi 3B+ prod et un autre en test.
De temps en temps je restaur la sauvegarde de ma prod sur mon test.
La 1° restauration me donne systématiquement ceci :

[START RESTORE]
kill: (21042): No such process
***************Début de la restauration de Jeedom 2020-11-12 09:16:06***************
Envoi l'évènement de début de restauration...OK
Vérification des droits..... OK
Disable all scenario.
..........................
.....OK
Fichier utilisé pour la restauration : /var/www/html/core/class/../../backup/backup-JeedomPROD-4.0.61-2020-11-12-02h38.tar.gz
Backup database access configuration...Can not copy /var/www/html/install/../core/config/common.config.php
OK
Disable all task....................
. OK
Décompression de la sauvegarde... OK
Disable all scenario...............
...................................... OK
Décompression de la sauvegarde...
tar: ./3rdparty/font-awesome5/webfonts/fa-regular-400.eot: Cannot open: File exists
tar: ./3rdparty/codemirror/mode/jade/index.html: Cannot open: File exists
tar: ./3rdparty/codemirror/mode/rst/rst.js: Cannot open: File exists
tar: ./3rdparty/codemirror/mode/ttcn-cfg/index.html: Cannot open: File exists
tar: ./3rdparty/codemirror/mode/ntriples/index.html: Cannot open: File exists
tar: ./3rdparty/codemirror/mode/ntriples/ntriples.js: Cannot open: File exists
tar: ./3rdparty/codemirror/mode/javascript/index.html: Cannot open: File exists
tar: ./3rdparty/codemirror/mode/markdown/test.js: Cannot open: File exists
tar: ./3rdparty/font-awesome/less/variables.less: Cannot open: File exists
tar: ./3rdparty/jquery.contextMenu/jquery.contextMenu.min.css.map: Cannot open: File exists
tar: ./3rdparty/jquery.tooltipster/css/tooltipster.bundle.min.css: Cannot open: File exists
tar: ./3rdparty/animate/animate.js: Cannot open: File exists
tar: ./3rdparty/highstock/js/modules/sunburst.js: Cannot open: File exists
tar: ./3rdparty/highstock/js/indicators/zigzag.src.js: Cannot open: File exists
tar: ./data/customTemplates/dashboard/cmd.info.binary.circulateur/off.png: Cannot open: File exists
tar: ./data/customTemplates/dashboard/cmd.action.other.Multi-action-Defaut/toggle/to_switch_17_off.png: Cannot open: File exists
tar: ./data/customTemplates/dashboard/cmd.action.other.Multi-action-Defaut/toggle/to_switch_20_off.png: Cannot open: File exists
tar: ./data/customTemplates/dashboard/cmd.action.other.Multi-action-Defaut/toggle/to_switch_14_on.png: Cannot open: File exists
tar: ./data/customTemplates/dashboard/cmd.action.other.Multi-action-Defaut/toggle/to_switch_8_off.png: Cannot open: File exists
tar: ./data/customTemplates/dashboard/cmd.action.other.Multi-action-Defaut/toggle/to_switch_6_off.png: Cannot open: File exists
tar: ./data/customTemplates/dashboard/cmd.action.other.Multi-action-Defaut/chauffage/ch_chaudiere3_on.png: Cannot open: File exists
tar: ./data/customTemplates/dashboard/cmd.action.other.Multi-action-Defaut/eau/ea_jauge_20.png: Cannot open: File exists
tar: ./data/customTemplates/dashboard/cmd.action.other.Multi-action-Defaut/season/se_spring2.png: Cannot open: File exists
tar: ./data/customTemplates/dashboard/cmd.action.other.Multi-action-Defaut/fenetre/ou_carre_bn_sp_off.png: Cannot open: File exists
tar: ./data/customTemplates/dashboard/cmd.info.binary.DB Securit#U00e9 Alerte/al_alerte.png: Cannot open: File exists
tar: ./data/img/IconInfo/freebox_on.png: Cannot open: File exists
tar: ./data/img/IconAction/prise_off.png: Cannot open: File exists
tar: ./data/img/IconAction/lum2_off.png: Cannot open: File exists
tar: ./.tmb/l1_ZGF0YS9pbWcvSWNvbkluZm8vYW1wbGlfb2ZmLnBuZw1590944624.png: Cannot open: File exists
tar: ./core/img/icon/Transport/classic5.svg: Cannot open: File exists
tar: ./core/img/icon/Transport/school31.svg: Cannot open: File exists
tar: ./core/img/icon/Transport/car95.svg: Cannot open: File exists
tar: ./core/img/icon/Nature/flower18.svg: Cannot open: File exists
tar: ./core/img/icon/Nature/plant29.svg: Cannot open: File exists
tar: ./core/img/icon/Nature/leaf32.svg: Cannot open: File exists
tar: ./core/img/icon/Nature/japanese3.svg: Cannot open: File exists
tar: ./core/img/icon/Nature/drops1.svg: Cannot open: File exists
tar: ./core/img/icon/Nature/night2.svg: Cannot open: File exists
tar: ./core/img/icon/Nature/pine7.svg: Cannot open: File exists
tar: ./core/img/icon/Nature/planet5.svg: Cannot open: File exists
tar: ./core/img/icon/Maison/home63.svg: Cannot open: File exists
tar: ./core/img/icon/Maison/service.svg: Cannot open: File exists
tar: ./core/img/icon/Maison/classical.svg: Cannot open: File exists
tar: ./core/img/icon/Maison/studio10.svg: Cannot open: File exists
tar: ./core/img/icon/Maison/classic2.svg: Cannot open: File exists
tar: ./core/img/icon/Nourriture/birthday3.svg: Cannot open: File exists
tar: ./core/img/icon/Nourriture/beer15.svg: Cannot open: File exists
tar: ./core/img/icon/Nourriture/chef16.svg: Cannot open: File exists
tar: ./core/img/icon/Nourriture/plate7.svg: Cannot open: File exists
tar: ./core/img/icon/Nourriture/gingerbread.svg: Cannot open: File exists
tar: ./core/img/icon/Nourriture/cooking14.svg: Cannot open: File exists
tar: ./core/img/icon/Nourriture/wine23.svg: Cannot open: File exists
tar: ./core/img/icon/Fashion/mannequin1.svg: Cannot open: File exists
tar: ./core/img/icon/Fashion/bikini4.svg: Cannot open: File exists
tar: ./core/img/icon/Fashion/black177.svg: Cannot open: File exists
tar: ./core/img/icon/Fashion/stylish2.svg: Cannot open: File exists
tar: ./core/img/icon/Fashion/dress2.svg: Cannot open: File exists
tar: ./core/img/no-image-widget.png: Cannot open: File exists
tar: ./core/img/object_background/salle_a_manger/salle_a_manger_2.jpg: Cannot open: File exists
tar: ./core/img/object_background/cave/cave_1.jpg: Cannot open: File exists
tar: ./core/img/object_background/chambre/chambre_6.jpg: Cannot open: File exists
tar: ./core/js/report.class.js: Cannot open: File exists
tar: ./core/js/interact.class.js: Cannot open: File exists
tar: ./core/js/object.class.js: Cannot open: File exists
tar: ./core/template/mobile/cmd.action.other.default.html: Cannot open: File exists
tar: ./core/template/mobile/cmd.info.string.buttonImage.html: Cannot open: File exists
tar: ./core/template/mobile/cmd.action.message.default.html: Cannot open: File exists
tar: ./core/template/mobile/cmd.action.other.tmpliconline.html: Cannot open: File exists
tar: ./core/template/mobile/cmd.info.numeric.rain/water.svg: Cannot open: File exists
tar: ./core/template/mobile/cmd.info.numeric.rain/marker.svg: Cannot open: File exists
tar: ./core/template/scenario/cmd.action.text.default.html: Cannot open: File exists
tar: ./core/template/scenario/gotodesign.default.html: Cannot open: File exists
tar: ./core/template/dashboard/cmd.action.text.default.html: Cannot open: File exists
tar: ./core/template/dashboard/eqLogic.html: Cannot open: File exists
tar: ./core/ajax/report.ajax.php: Cannot open: File exists
tar: ./core/ajax/jeeNetwork.ajax.php: Cannot open: File exists
tar: ./core/api/proApi.php: Cannot open: File exists
tar: ./core/themes/core2019_Dark/mobile/shadows.css: Cannot open: File exists
tar: ./core/themes/core2019_Dark/desktop/shadows.css: Cannot open: File exists
tar: ./core/themes/core2019_Dark/desktop/colors.css: Cannot open: File exists
tar: ./core/themes/core2019_Light/mobile/core2019_Light.css: Cannot open: File exists
tar: ./core/themes/core2019_Light/mobile/colors.css: Cannot open: File exists
tar: ./core/themes/core2019_Light/desktop/core2019_Light.css: Cannot open: File exists
tar: tar: Exiting with failure status due to previous errorsExiting with failure status due to previous errors
OK
Supprimer la table de la sauvegardeOK
Supprimer la table de la sauvegardeDésactive les contraintes...Désactive les contraintes...OK
Supprimer la table : cache ...OK
Supprimer la table : cache ...OK
Supprimer la table : calendar_event ...OK
Supprimer la table : calendar_event ...OK
Supprimer la table : cmd ...OK
Supprimer la table : cmd ...OK
Supprimer la table : config ...OK
Supprimer la table : config ...OK
Supprimer la table : conso_abo ...OK
Supprimer la table : conso_abo ...OK
Supprimer la table : conso_current ...OK
Supprimer la table : conso_current ...OK
Supprimer la table : conso_groupe ...OK
Supprimer la table : conso_groupe ...OK
Supprimer la table : conso_jour ...OK
Supprimer la table : conso_jour ...OK
Supprimer la table : conso_periode ...OK
Supprimer la table : conso_periode ...OK
Supprimer la table : conso_periode_groupe ...OK
Supprimer la table : conso_periode_groupe ...OK
Supprimer la table : conso_price ...OK
Supprimer la table : conso_price ...OK
Supprimer la table : conso_taxe ...OK
Supprimer la table : conso_taxe ...OK
Supprimer la table : conso_teleinfo ...OK
Supprimer la table : conso_teleinfo ...OK
Supprimer la table : conso_teleinfo_save ...OK
Supprimer la table : conso_teleinfo_save ...OK
Supprimer la table : conso_tmp ...OK
Supprimer la table : conso_tmp ...OK
Supprimer la table : conso_tva ...OK
Supprimer la table : conso_tva ...OK
Supprimer la table : cron ...OK
Supprimer la table : cron ...OK
Supprimer la table : dataStore ...OK
Supprimer la table : dataStore ...OK
Supprimer la table : eqLogic ...OK
Supprimer la table : eqLogic ...OK
Supprimer la table : eqReal ...OK
Supprimer la table : eqReal ...OK
Supprimer la table : history ...OK
Supprimer la table : history ...OK
Supprimer la table : historyArch ...OK
Supprimer la table : historyArch ...OK
Supprimer la table : interactDef ...OK
Supprimer la table : interactDef ...OK
Supprimer la table : interactQuery ...OK
Supprimer la table : interactQuery ...OK
Supprimer la table : listener ...OK
Supprimer la table : listener ...OK
Supprimer la table : livebox_calls ...OK
Supprimer la table : livebox_calls ...OK
Supprimer la table : message ...OK
Supprimer la table : message ...OK
Supprimer la table : note ...OK
Supprimer la table : note ...OK
Supprimer la table : object ...OK
Supprimer la table : object ...OK
Supprimer la table : plan ...OK
Supprimer la table : plan ...OK
Supprimer la table : plan3d ...OK
Supprimer la table : plan3d ...OK
Supprimer la table : plan3dHeader ...OK
Supprimer la table : plan3dHeader ...OK
Supprimer la table : planHeader ...OK
Supprimer la table : planHeader ...OK
Supprimer la table : scenario ...OK
Supprimer la table : scenario ...OK
Supprimer la table : scenarioElement ...OK
Supprimer la table : scenarioElement ...OK
Supprimer la table : scenarioExpression ...OK
Supprimer la table : scenarioExpression ...OK
Supprimer la table : scenarioSubElement ...OK
Supprimer la table : scenarioSubElement ...OK
Supprimer la table : update ...OK
Supprimer la table : update ...OK
Supprimer la table : user ...OK
Supprimer la table : user ...OK
Supprimer la table : view ...OK
Supprimer la table : view ...OK
Supprimer la table : viewData ...OK
Supprimer la table : viewData ...OK
Supprimer la table : viewZone ...OK
Supprimer la table : viewZone ...OK
Supprimer la table : widgets ...OK
Supprimer la table : widgets ...OK
Restauration de la base de données...OK
Restauration de la base de données...ERROR 1050 (42S01) at line 25: Table 'cache' already exists
OK
Active les contraintes...OK
Restauration du cache...OK
Erreur durant la restauration : [MySQL] Error code : 42S02 (1146). Table 'jeedom.config' doesn't exist  : SELECT plugin
FROM config
WHERE `key`='active'
AND `value`='1'Détails : Array
(
[0] => Array
(
[file] => /var/www/html/core/class/plugin.class.php
[line] => 163
[function] => Prepare
[class] => DB
[type] => ::
[args] => Array
(
[0] => SELECT plugin
FROM config
WHERE `key`='active'
AND `value`='1'
[1] => Array
(
)
[2] => 1
)
)
[1] => Array
(
[file] => /var/www/html/install/restore.php
[line] => 180
[function] => listPlugin
[class] => plugin
[type] => ::
[args] => Array
(
[0] => 1
)
)
)
[END RESTORE ERROR]
Enable scenario : PHP Fatal error:  Uncaught Exception: [MySQL] Error code : 42S02 (1146). Table 'jeedom.config' doesn't exist  : DELETE FROM config
WHERE `key`=:key
AND plugin=:plugin in /var/www/html/core/class/DB.class.php:101
Stack trace:
#0 /var/www/html/core/class/config.class.php(121): DB::Prepare('DELETE FROM con...', Array, 0)
#1 /var/www/html/core/class/config.class.php(66): config::remove('enableScenario', 'core')
#2 /var/www/html/core/class/jeedom.class.php(838): config::save('enableScenario', 1)
#3 /var/www/html/install/restore.php(225): jeedom::start()
#4 {main}
thrown in /var/www/html/core/class/DB.class.php on line 101
OK
Active les contraintes...OK
Restauration du cache...OK
Plugin restauration : calendar...

Je lance aussitot une 2° restauration qui fonctionne tres bien :

[START RESTORE]
***************Début de la restauration de Jeedom 2020-11-12 09:41:03***************
Envoi l'évènement de début de restauration...OK
Vérification des droits...
OK
Fichier utilisé pour la restauration : /var/www/html/core/class/../../backup/backup-JeedomPROD-4.0.61-2020-11-12-02h38.tar.gz
Backup database access configuration...Can not copy /var/www/html/install/../core/config/common.config.php
OK
Disable all task.
..... OK
Disable all scenario
............................
........................ OK
Décompression de la sauvegarde...
OK
Supprimer la table de la sauvegardeDésactive les contraintes...OK
Supprimer la table : cache ...OK
Supprimer la table : calendar_event ...
OK
Supprimer la table : cmd ...OK
Supprimer la table : config ...OK
Supprimer la table : conso_abo ...OK
Supprimer la table : conso_current ...OK
Supprimer la table : conso_groupe ...OK
Supprimer la table : conso_jour ...OK
Supprimer la table : conso_periode ...OK
Supprimer la table : conso_periode_groupe ...OK
Supprimer la table : conso_price ...OK
Supprimer la table : conso_taxe ...OK
Supprimer la table : conso_teleinfo ...OK
Supprimer la table : conso_teleinfo_save ...OK
Supprimer la table : conso_tmp ...OK
Supprimer la table : conso_tva ...OK
Supprimer la table : cron ...OK
Supprimer la table : dataStore ...OK
Supprimer la table : eqLogic ...OK
Supprimer la table : eqReal ...OK
Supprimer la table : history ...OK
Supprimer la table : historyArch ...OK
Supprimer la table : interactDef ...OK
Supprimer la table : interactQuery ...OK
Supprimer la table : listener ...OK
Supprimer la table : livebox_calls ...OK
Supprimer la table : message ...OK
Supprimer la table : note ...OK
Supprimer la table : object ...OK
Supprimer la table : plan ...OK
Supprimer la table : plan3d ...OK
Supprimer la table : plan3dHeader ...OK
Supprimer la table : planHeader ...OK
Supprimer la table : scenario ...OK
Supprimer la table : scenarioElement ...OK
Supprimer la table : scenarioExpression ...OK
Supprimer la table : scenarioSubElement ...OK
Supprimer la table : update ...OK
Supprimer la table : user ...OK
Supprimer la table : view ...OK
Supprimer la table : viewData ...OK
Supprimer la table : viewZone ...OK
Supprimer la table : widgets ...OK
Restauration de la base de données...
OK
Active les contraintes...OK
Restauration du cache...rm: cannot remove '/tmp/jeedom/cache': Directory not empty
mkdir: cannot create directory '/tmp/jeedom/cache': File exists
OK
Plugin restauration : calendar...
OK
Check jeedom consistency...[START CONSISTENCY]
[START CHECK AND FIX DB]
[END CHECK AND FIX DB]
Check jeedom database...OK
Suppression de  : weather::pull() car il n'y a pas de lancement prévu
Check filesystem right...
OK
[END CONSISTENCY]
OK
Enable scenario : OK
Enable task : OK
Envoi l'évènement de la fin de la sauvegarde...OK
Temps de la restauration : 1179s
***************Fin de la restauration de Jeedom***************
[END RESTORE SUCCESS]

...