This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| bacula_on_centos_7 [2015/03/17 14:44] – herwarth | bacula_on_centos_7 [2015/03/20 12:39] (current) – [Bacula Director] herwarth | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ======Bacula on CentOS 7====== | + | ======Bacula |
| + | =====Repository===== | ||
| + | cd / | ||
| + | wget https:// | ||
| + | |||
| + | ====GPG key==== | ||
| + | rpm --import https:// | ||
| =====Installation===== | =====Installation===== | ||
| ====Bacula SD==== | ====Bacula SD==== | ||
| - | yum install bacula-storage | + | yum install bacula-storage mt-st |
| - | + | ||
| - | Installing : bacula-libs-5.2.13-18.el6.x86_64 | + | |
| - | Installing : bacula-common-5.2.13-18.el6.x86_64 | + | |
| - | Installing : lzo-2.03-3.1.el6.x86_64 | + | |
| - | Installing : mt-st-1.1-5.el6.x86_64 | + | |
| - | Installing : postgresql-libs-8.4.20-1.el6_5.x86_64 | + | |
| - | Installing : bacula-libs-sql-5.2.13-18.el6.x86_64 | + | |
| - | Installing : bacula-storage-5.2.13-18.el6.x86_64 | + | |
| ====Bacula Director==== | ====Bacula Director==== | ||
| Line 19: | Line 17: | ||
| systemctl restart postgresql | systemctl restart postgresql | ||
| systemctl enable postgresql | systemctl enable postgresql | ||
| + | ===Bacula BAT (Optional)=== | ||
| + | yum install bacula-console-bat xorg-x11-xauth xorg-x11-fonts-* | ||
| + | | ||
| =====Configuration===== | =====Configuration===== | ||
| ====Firewall==== | ====Firewall==== | ||
| - | < | + | firewall-cmd --permanent --zone=management |
| - | </ | + | |
| - | < | + | |
| - | </ | + | |
| - | < | + | |
| - | </ | + | |
| - | |||
| - | ====Bacula SD==== | ||
| - | <code - / | ||
| - | Storage { # definition of myself | ||
| - | Name = bergschenhoek-sd | ||
| - | SDPort = 9103 # Director' | ||
| - | WorkingDirectory = "/ | ||
| - | Pid Directory = "/ | ||
| - | Maximum Concurrent Jobs = 20 | ||
| - | } | ||
| - | |||
| - | Director { | ||
| - | Name = bergschenhoek-dir | ||
| - | Password = " | ||
| - | } | ||
| - | |||
| - | Autochanger { | ||
| - | Name = LTO-Changer | ||
| - | Device = lto.bh | ||
| - | Changer Device = / | ||
| - | Changer Command = "/ | ||
| - | } | ||
| - | |||
| - | Device { | ||
| - | Name = lto.bh | ||
| - | Description = "HP Ultrium 6" | ||
| - | Media Type = LTO | ||
| - | Drive Index = 0 | ||
| - | AutoChanger = yes; | ||
| - | Archive Device = /dev/nst0 | ||
| - | Changer Device = / | ||
| - | Changer Command = "/ | ||
| - | AutomaticMount = yes; # when device opened, read it | ||
| - | AlwaysOpen = yes; | ||
| - | RemovableMedia = yes; | ||
| - | RandomAccess = no; | ||
| - | # Mount Anonymous Volumes = no; # tape moet gelabeled zijn | ||
| - | # Spool Directory = / | ||
| - | # Maximum Spool Size = 50G | ||
| - | } | ||
| - | |||
| - | Messages { | ||
| - | Name = Standard | ||
| - | director = bergschenhoek-dir = all | ||
| - | file = / | ||
| - | } | ||
| - | </ | ||
| ====Bacula Director==== | ====Bacula Director==== | ||
| Line 85: | Line 35: | ||
| exit | exit | ||
| </ | </ | ||
| - | |||
| < | < | ||
| / | / | ||
| Line 105: | Line 54: | ||
| host all | host all | ||
| </ | </ | ||
| + | |||
| + | =====Uninstall Bacula 5 SD===== | ||
| + | yum remove bacula-common bacula-libs bacula-libs-sql bacula-storage mt-st postgresql-libs | ||
| + | |||
| {{tag> | {{tag> | ||