Project

General

Profile

Tâche #32985

Scénario #32854: seth/addc : la sauvegarde Samba AD DC devrait être en mode binaire

Si un script de restauration plante, la restauration est marqué "ok"

Added by Emmanuel GARETTE 2 months ago. Updated 23 days ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
07/21/2021
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

Exemple :

            21-juil. 06:00 amonecole_fd JobId 5: ClientAfterJob: sending incremental file list
            21-juil. 06:00 amonecole_fd JobId 5: ClientAfterJob: rsync: link_stat "/home/backup/samba/samba" failed: No such file or directory (2)
            21-juil. 06:00 amonecole_fd JobId 5: ClientAfterJob:
            21-juil. 06:00 amonecole_fd JobId 5: ClientAfterJob: sent 18 bytes  received 12 bytes  60.00 bytes/sec
            21-juil. 06:00 amonecole_fd JobId 5: ClientAfterJob: total size is 0  speedup is 0.00
            21-juil. 06:00 amonecole_fd JobId 5: ClientAfterJob: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]
            21-juil. 06:00 amonecole_fd JobId 5: ClientAfterJob: post ADDC
            21-juil. 06:00 amonecole_fd JobId 5: Error: Runscript: ClientAfterJob returned non-zero status=23. ERR=Child exited with code 23
            21-juil. 06:00 amonecole-dir JobId 5: Bareos amonecole-dir 20.0.0 (16Dec20):
              Build OS:               Ubuntu 20.04.1 LTS
              JobId:                  5
              Job:                    Restore_addc.2021-07-21_05.59.10_07
              Restore Client:         amonecole_fd
              Start time:             21-juil.-2021 05:59:24
              End time:               21-juil.-2021 06:00:57
              Elapsed time:           1 min 33 secs
              Files Expected:         6
              Files Restored:         6
              Bytes Restored:         10,209
              Rate:                   0.1 KB/s
              FD Errors:              1
              FD termination status:  OK
              SD termination status:  OK
              Bareos binary info:     bareos.org build: Get official binaries and vendor support on bareos.com
              Job triggered by:       User
              Termination:            Restore OK

La sauvegarde devrait être pourtant en erreur.

Associated revisions

Revision 4bc85f2e (diff)
Added by Emmanuel GARETTE 2 months ago

Le script de restauration en pre/post restore devrait mettre le job en erreur s'ils sont en échec (ref #32985)

History

#1 Updated by Emmanuel GARETTE 2 months ago

  • Status changed from En cours to À valider

#2 Updated by Emmanuel GARETTE 2 months ago

  • % Done changed from 0 to 100

#3 Updated by Ludwig Seys about 1 month ago

  • Status changed from À valider to Résolu

#4 Updated by Joël Cuissinat 23 days ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0
~/git/eole-bareos$ git branch -r --contains 4bc85f2e
  origin/HEAD -> origin/master
  origin/dist/eole/2.8.1/master
  origin/master

Also available in: Atom PDF