Project

General

Profile

Tâche #9978

eole-bacula - Scénario #9971: Qualification des sauvegardes / restauration en 2.4.1

Tester si résolu : Traceback si on essaie de restaurer sans avoir fait de sauvegarde

Added by Fabrice Barconnière over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Start date:
08/27/2012
Due date:
% Done:

100%

Estimated time:
0.25 h
Spent time:
Remaining (hours):
0.0

Description

root@amonecole:~# /usr/share/eole/sbin/bacularestore.py --folder /tmp/toto
Restauration de /tmp/toto
Traceback (most recent call last):
  File "/usr/share/eole/sbin/bacularestore.py", line 98, in <module>
    main()
  File "/usr/share/eole/sbin/bacularestore.py", line 92, in main
    parser.parse_args()
  File "/usr/lib/python2.7/optparse.py", line 1399, in parse_args
    stop = self._process_args(largs, rargs, values)
  File "/usr/lib/python2.7/optparse.py", line 1439, in _process_args
    self._process_long_opt(rargs, values)
  File "/usr/lib/python2.7/optparse.py", line 1514, in _process_long_opt
    option.process(opt, value, values, self)
  File "/usr/lib/python2.7/optparse.py", line 788, in process
    self.action, self.dest, opt, value, values, parser)
  File "/usr/lib/python2.7/optparse.py", line 808, in take_action
    self.callback(self, opt, value, parser, *args, **kwargs)
  File "/usr/share/eole/bacula/restore/folder.py", line 18, in execute
    job(option, jobid)
  File "/usr/share/eole/bacula/restore/folder.py", line 32, in job
    bacula_restore_one_folder(foldername, jobid)
  File "/usr/lib/python2.7/dist-packages/pyeole/bacularestore.py", line 78, in bacula_restore_one_folder
    if not bacula_ls_one_folder(foldername, jobid, test_mode=True) == True:
  File "/usr/lib/python2.7/dist-packages/pyeole/bacularestore.py", line 54, in bacula_ls_one_folder
    ls_result = stdout[1].split('\n')[1:]
IndexError: list index out of range

Related issues

Copied from Distribution EOLE - Tâche #9925: Traceback si on essaie de restaurer sans avoir fait de sauvegarde Reporté 08/27/2012

History

#1 Updated by Fabrice Barconnière over 6 years ago

  • Assigned To deleted (Joël Cuissinat)
  • Remaining (hours) changed from 0.15 to 0.25

#2 Updated by Benjamin Bohard over 6 years ago

  • Status changed from Nouveau to Fermé
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 0.25 to 0.0

#3 Updated by Gilles Grandgérard over 6 years ago

  • Assigned To set to Benjamin Bohard

Also available in: Atom PDF