Project

General

Profile

Tâche #29752

Scénario #29559: Corriger la mise en place de Bareos sur EOLE 2.8.0

Le script de restauration de Mysql utilise une fonction de la librairie eolesql non disponible en python3

Added by Joël Cuissinat about 1 year ago. Updated about 1 year ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/19/2020
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

root@eolebase:~# /usr/share/eole/sbin/bareosrestore.py  --search toto*.txt
Traceback (most recent call last):
  File "/usr/share/eole/sbin/bareosrestore.py", line 14, in <module>
    import restore
  File "/usr/share/eole/bareos/restore/__init__.py", line 18, in <module>
    exec("import %s" %__m__.group())
  File "<string>", line 1, in <module>
  File "/usr/share/eole/bareos/restore/mysql.py", line 6, in <module>
    from eolesql.db_cmd import dump_sql_file2
ModuleNotFoundError: No module named 'eolesql'

Related issues

Related to Distribution EOLE - Tâche #30275: Finaliser la migration d'eolesql en python3 Fermé 06/09/2020 06/12/2020

Associated revisions

Revision 194d5831 (diff)
Added by Emmanuel GARETTE about 1 year ago

restore des quotas en python3 (ref #29752)

Revision 5ac48822 (diff)
Added by Emmanuel GARETTE about 1 year ago

paquet python3 (ref #29752)

Revision 511baf35 (diff)
Added by Emmanuel GARETTE about 1 year ago

port python3 (ref #29752)

Revision fe993d00 (diff)
Added by Emmanuel GARETTE about 1 year ago

ajout de la dépendance python3 (ref #29752)

Revision f2378198 (diff)
Added by Joël Cuissinat about 1 year ago

Add "eole" scripts in python3-eolesql package

Ref: #29752

Revision 8346fffe (diff)
Added by Emmanuel GARETTE 11 months ago

port de mysql_pwd.py en python3 (ref #29752)

Revision 6ac617a4 (diff)
Added by Emmanuel GARETTE 11 months ago

port en python3 de dict4ini (ref #29752)

History

#1 Updated by Emmanuel GARETTE about 1 year ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Emmanuel GARETTE
  • % Done changed from 0 to 100

#2 Updated by Emmanuel GARETTE about 1 year ago

  • Status changed from En cours to Résolu

#3 Updated by Joël Cuissinat about 1 year ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0
root@eolebase:~# /usr/share/eole/sbin/bareosrestore.py  --search toto*.txt
Recherche dans la sauvegarde
Aucun résultat

root@eolebase:~# /usr/share/eole/sbin/bareosrestore.py  --search sql
Recherche dans la sauvegarde
/home/backup/sql/

#4 Updated by Joël Cuissinat 11 months ago

  • Related to Tâche #30275: Finaliser la migration d'eolesql en python3 added

Also available in: Atom PDF