Warnung: Du bist nicht angemeldet. Deine IP-Adresse wird bei Bearbeitungen öffentlich sichtbar.
Melde dich an oder
erstelle ein Benutzerkonto, damit Bearbeitungen deinem Benutzernamen zugeordnet werden. Ein eigenes Benutzerkonto hat eine ganze Reihe von Vorteilen.
Die Bearbeitung kann rückgängig gemacht werden.
Bitte prüfe den Vergleich unten, um sicherzustellen, dass du dies tun möchtest, und veröffentliche dann unten deine Änderungen, um die Bearbeitung rückgängig zu machen.
Aktuelle Version |
Dein Text |
Zeile 7: |
Zeile 7: |
|
| |
|
| == Backup == | | == Backup == |
|
| |
| echo "#Bacula" >> /etc/host.allow
| |
|
| |
| Damit bconsole sich mit dem director verbinden kann
| |
|
| |
| echo "bacula-dir: ALL" >> /etc/hosts.allow
| |
|
| |
|
| |
|
| === Postgresql === | | === Postgresql === |
| http://www.postgresql.org/docs/9.0/static/kernel-resources.html | | http://www.postgresql.org/docs/9.0/static/kernel-resources.html |
|
| |
|
| ==== /etc/login.conf ====
| |
|
| |
| postgres:\
| |
| :lang=de_DE.UTF-8:\
| |
| :setenv=LC_COLLATE=C:\
| |
| :tc=default:
| |
|
| |
| cap_mkdb /etc/login.conf
| |
|
| |
| ==== shared memory aktivieren für die Jail ====
| |
|
| |
| ===== Hauptsystem =====
| |
|
| |
| echo "security.jail.sysvipc_allowed=1" >> /etc/sysctl.conf
| |
|
| |
| ===== Jail =====
| |
|
| |
| echo "jail_sysvipc_allow="YES" # For PostgreSQL" >> /etc/rc.conf
| |
|
| |
| ==== postgresql db initialisieren ====
| |
|
| |
| /usr/local/etc/rc.d/postgresql initdb
| |
|
| |
| ==== rc.conf ====
| |
|
| |
| postgresql_enable="YES"
| |
|
| |
| ==== User anlegen ====
| |
|
| |
| su pgsql
| |
| /usr/local/bin/createuser <superuser>
| |
| Soll die neue Rolle ein Superuser sein? (j/n) j
| |
|
| |
| === Bacula ===
| |
|
| |
| ==== Postgresql configuration ====
| |
|
| |
| /usr/local/share/bacula/create_bacula_database
| |
| /usr/local/share/bacula/make_bacula_tables
| |
| /usr/local/share/bacula/grant_bacula_privileges
| |
|
| |
| ==== bacula-dir.conf ====
| |
|
| |
| cd /usr/local/etc
| |
| cp bacula-dir.conf.sample bacula-dir.conf
| |
|
| |
| ===== Test =====
| |
|
| |
| bacula-dir -t -c bacula-dir.conf
| |
|
| |
| ==== bacula-sd.conf ====
| |
|
| |
| cd /usr/local/etc
| |
| cp bacula-sd.conf.sample bacula-sd.conf
| |
|
| |
| ===== Test =====
| |
|
| |
| bacula-sd -t -c bacula-sd.conf
| |
|
| |
| ==== bacula-fd.conf ====
| |
|
| |
| cd /usr/local/etc
| |
| cp bacula-fd.conf.sample bacula-fd.conf
| |
|
| |
| ===== Test =====
| |
|
| |
|
| bacula-fd -t -c bacula-fd.conf
| | echo "security.jail.sysvipc_allowed=1" >> /etc/sysctl.conf |
| | echo "jail_sysvipc_allow="YES" # For PostgreSQL" >> /etc/rc.conf |