Project

General

Profile

Scénario #28472

EOLE 2.7 : ajouter la compression LZ4 à Bareos

Added by Emmanuel GARETTE over 1 year ago. Updated 11 months ago.

Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
Category:
-
Start date:
09/23/2019
Due date:
10/11/2019
% Done:

100%

Story points:
3.0
Remaining (hours):
0.00 hour
Velocity based estimate:
Release:
Release relationship:
Auto

Description

Depuis la version 13.2 de Bareos, il est possible de compresser en LZ4 :

Ce n'est pas une option proposée par gen_config :

        <check name='valid_enum' target='bareos_compression'>
            <param>['Aucune', 'GZIP1', 'GZIP2', 'GZIP3', 'GZIP4', 'GZIP5', 'GZIP6', 'GZIP7', 'GZIP8', 'GZIP9']</param>
        </check>

Solutions à mettre en œuvre

Critères d'acceptation

Utiliser le nouveau format dans les tests de sauvegarde/restauration Scribe 2.7.1 :

Subtasks

Tâche #28980: Ajouter la (ou les) nouvelle(s) valeur(s) à la listeFerméMatthieu Lamalle

Tâche #28981: Tester une sauvegarde en LZ4FerméMatthieu Lamalle

Tâche #28982: Mettre à jour les dictionnaires ZéphirFerméMatthieu Lamalle

Tâche #28983: Enrichir la docFerméBenjamin Bohard

Tâche #28984: Utiliser le nouveau format dans les tests de sauvegarde/restauration Scribe 2.7.1 :FerméMatthieu Lamalle

Tâche #29039: CreoleLint signale une erreur avec une configuration particulièreFerméMatthieu Lamalle

Tâche #29040: Compiler le paquet bareos en fournissant les dépendances de la lib fastlibzFerméBenjamin Bohard

Tâche #29047: Mettre à disposition les paquets libfastlz et libfastlz-dev dans les dépôts EOLE 2.7.1FerméJoël Cuissinat


Related issues

Related to Distribution EOLE - Tâche #29034: Validation du scénario : ajouter la compression LZ4 à Bareos Fermé 09/27/2019
Related to Distribution EOLE - Tâche #30125: Passer la compression Bareos en LZ4 sur les nouvelles versions Fermé 05/18/2020

Associated revisions

Revision 6fa861a1 (diff)
Added by Matthieu Lamalle 12 months ago

ref #28472 add lz4 compression

Revision 3747d42f (diff)
Added by Matthieu Lamalle 12 months ago

ref #28472 add compression lz4

Revision 9d91f4c2 (diff)
Added by Matthieu Lamalle 12 months ago

ref #28472 add lz4 compression

Revision 62c880cf (diff)
Added by Matthieu Lamalle 12 months ago

ref #28472 add lz4 compression

Revision 3701b8de (diff)
Added by Daniel Dehennin 12 months ago

Add compression lz4 dependency

Ref: #28472

Revision b234e2ab (diff)
Added by Daniel Dehennin 12 months ago

Add compression lz4 dependency

Cherry pick for 2.7.2 from 3701b8d

Ref: #28472

History

#1 Updated by Fabrice Barconnière over 1 year ago

  • Estimated time set to 1.00 h
  • Parent task set to #28148

#2 Updated by Joël Cuissinat over 1 year ago

  • Estimated time deleted (1.00 h)
  • Parent task deleted (#28148)

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

  • Tracker changed from Tâche to Scénario
  • Subject changed from 2.7.0 : ajouter la compression LZ4 à Bareos to EOLE 2.7 : ajouter la compression LZ4 à Bareos
  • Target version deleted (sprint 2019 21-23 Equipe MENSR)
  • Start date deleted (05/29/2019)
  • Release set to EOLE 2.7.1.1
  • Story points set to 2.0

#4 Updated by Gilles Grandgérard about 1 year ago

  • Project changed from Distribution EOLE to eole-bareos

#5 Updated by Gilles Grandgérard about 1 year ago

  • Release changed from EOLE 2.7.1.1 to Carnet de produit (Cadoles)

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

  • Description updated (diff)
  • Story points changed from 2.0 to 3.0

#7 Updated by Matthieu Lamalle about 1 year ago

Il faut prévoir l'installation du paquet `liblz4-tool`.

Dans `/usr/share/eole/creole/distrib/bareos-fd.conf` > FileDaemon : ajouter le ligne `compatible = no`.
Dans `/usr/share/eole/creole/dicos/23_bareos.xml` : Ajouter `LZ4` à la variable `bareos_compression`

Bareos :

To use the lz4 compression feature, you need to do two things:
1. As lz4 compression is not supported by Bacula, you need to set the compatible = no in bareosfd.conf
2. Set the desired compression algorithm in the fileset options as usual:

FileSet {
 Name = "lz4Set" 
 Include {
 Options {
 signature=MD5
 compression=lz4 # or lzfast / lz4hc
 }
 File = /
 }
}

The jobreport will show the compression ratio and the used compression algorithm like this:
Software Compression: 43.9 % (lz4)

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

  • Due date set to 10/11/2019
  • Target version set to Prestation Cadoles 39-41
  • Start date set to 09/23/2019

#9 Updated by Matthieu Lamalle 12 months ago

  • Assigned To set to Matthieu Lamalle

#10 Updated by Joël Cuissinat 12 months ago

  • Related to Tâche #29034: Validation du scénario : ajouter la compression LZ4 à Bareos added

#11 Updated by Joël Cuissinat 12 months ago

  • Status changed from Nouveau to Terminé (Sprint)

#12 Updated by Joël Cuissinat 11 months ago

  • Release changed from Carnet de produit (Cadoles) to EOLE 2.7.1.2

#13 Updated by Joël Cuissinat 4 months ago

  • Related to Tâche #30125: Passer la compression Bareos en LZ4 sur les nouvelles versions added

Also available in: Atom PDF