1 / 29

Sauvegarde

Sauvegarde. Logiciel libre Bacula. Sommaire. Introduction Principes Historiques Bacula Conclusion. Introduction. Utilisation de l’informatique Eviter les problèmes Défaillance du matériel, Erreur humaine… Solution Sauvegarde. Principes. Stratégies de sauvegarde Client, Serveur,

abra
Download Presentation

Sauvegarde

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Sauvegarde Logiciel libre Bacula

  2. Sommaire • Introduction • Principes • Historiques • Bacula • Conclusion

  3. Introduction • Utilisation de l’informatique • Eviter les problèmes • Défaillance du matériel, • Erreur humaine… • Solution • Sauvegarde.

  4. Principes • Stratégies de sauvegarde • Client, • Serveur, • Internet. • Méthodes de sauvegarde • Complète, • Incrémentale, • Différentielle.

  5. Historique • Dump/Restore • Sauvegarde l'intégralité d'un système de fichiers d'un périphérique, • Complète, incrémental. • Tar • Créer une archive, • Rajouter/Extraire/Remplacer des fichiers, • Réaliser des différences.

  6. Historique • Cpio • Entrée/Sortie standard, • Formats de sortie possible : binaire, tar, … • Prise en compte des expressions régulières, • Tailles de blocs paramétrable.

  7. Historique • Avantages • Outils en ligne de commande, • Aisément « scriptables », • Utilisation très précise. • Inconvénients • Convivialité, • Possibilités, • Outils limités au monde Unix.

  8. Logiciels libres • Bacula • Backup + Dracula • Amanda • Advanced Maryland Automated Network Disk Archiver

  9. Bacula - Introduction • Libre sous licence GPL, • Grande modularité, • Sauvegarde, restauration et vérification des données, • Architecture client/serveur, • Gestionnaire d’évènements, • GZIP, • TLS, PKI.

  10. Bacula - Architecture • Bacula Director • Cœur du système, • Déclenche les sauvegardes, restaurations et vérifications, • Gère les catalogues.

  11. Bacula - Architecture • Storage daemon • Lecture/écriture des données sur support physique,

  12. Bacula - Architecture • File daemon • Service, • Communique avec le Director et le Storage daemon.

  13. Bacula - Architecture • Catalog database • SQL Database, • Stocke les informations relatives aux fichiers sauvegardés

  14. Bacula - Architecture • Console • Lister des informations, • Gestion manuelle des sauvegardes/restaurations.

  15. Bacula - Architecture

  16. Bacula - Configuration • 4 fichiers différents • Director, • File daemon, • Storage daemon, • Console. • Système de fonctions • Permet d’être modulable

  17. Bacula – bacula-dir.conf

  18. Bacula – bacula-dir.conf Director { Name = ubuntu-dir DIRport = 9101 QueryFile = "/home/louis/bacula/bin/query.sql" WorkingDirectory = "/home/louis/bacula/working" PidDirectory = "/home/louis/bacula/bin/working" Maximum Concurrent Jobs = 1 Password = "eRnKiYJCd8G/cbOrNfvnmJjE+Jw1yURJ2gRupfdO6Emh" Messages = Daemon } Console { Name = ubuntu-mon Password = "Ar26v0acIaeCmE6kwoYeh7vpygLrSfkqZolHJPo5iKNX" }

  19. Bacula – bacula-dir.conf • Catalog { • Name = MySQL • dbname = bacula • user = bacula • password = "a" • DB Address = 172.31.69.10 • DB Port = 1234 • } • Client { • Name = laptop-fd • Address = 172.31.69.10 • Catalog = MyCatalog • Password = “secret-fd” • File Retention = 30 days • Job Retention = 6 months • AutoPrune = yes • Maximum Concurrent Jobs = 20 • }

  20. Bacula – bacula-dir.conf • FileSet { • Name = “Full Set” • Include { • Options { • Compression=GZIP • } • File = / • File = /usr • File = /var • } • Exclude { • File = /proc; File = /tmp; File = /sys; File = /.journal • } • }

  21. Bacula – bacula-dir.conf Schedule { Name = “Weekly Cycle” Run = Level=Full 1st sun at 2:05 Run = Level=Differential 2nd-5st sun at 2:05 Run = Level=Incremental mon-sat at 2:05 } Storage { Name = File Address = ubuntu SDPort = 9103 Password = "hcfxKrDwKXuEChgfK38eyXE8Q8ZzYPDV91BaR+fb4qHV" Device = FileStorage Media Type = File }

  22. Bacula – bacula-dir.conf • Job { • Name = “Laptop” • Type = Backup • Client = laptop-fd • FileSet = “mySet” • Schedule = “myCycle” • Storage = File • Messages = Standard • Priority = 10 • }

  23. Bacula – bacula-sd.conf Storage { Name = ubuntu-sd SDPort = 9103 WorkingDirectory = "/home/louis/bacula/working" Pid Directory = "/home/louis/bacula/bin/working" Maximum Concurrent Jobs = 20 } Director { Name = ubuntu-dir Password = "hcfxKrDwKXuEChgfK38eyXE8Q8ZzYPDV91BaR+fb4qHV" } Director { Name = ubuntu-mon Password = "oGbOgCvTq0Zt3njkPUtDS/pAzcv30X8upMG4W3Fzws9p" }

  24. Bacula – bacula-sd.conf Device { Name = FileStorage Media Type = File Archive Device = /backup AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = no; }

  25. Bacula – bacula-sd.conf Device { Name = FileStorage Media Type = File Archive Device = /backup AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = no; }

  26. Bacula – développeur • Protocol : TCP/IP • Lib : bsock.h

  27. Bacula - GUI • bweb • Perl/cgi interface web,

  28. Conclusion • Bacula est une solution logicielle sure et performante.

  29. Questions

More Related