Mageia Bugzilla – Attachment 5346 Details for
Bug 13616
bacula's daemons don't start because it requires syslog which we don't provide anymore
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
installation How-To for testing
Bacula-Tesing (text/plain), 2.71 KB, created by
Thomas Spuhler
on 2014-08-16 00:31:33 CEST
(
hide
)
Description:
installation How-To for testing
Filename:
MIME Type:
Creator:
Thomas Spuhler
Created:
2014-08-16 00:31:33 CEST
Size:
2.71 KB
patch
obsolete
>bacula Testing > >If using mysql as databes, install: >bacula-bat (graphical interface) >bacula-console >bacula-dir-mysql >bacula-fd >bacula-sd > >If you applied a password to your mysql database (the strongly recommanded way) using mcc from a root shell, you can see these messages in the shell: >********* >Hmm, doesn't look like you have an existing database. >Creating MySQL bacula database... >Creating bacula tables... >Granting privileges for MySQL user bacula... >automatic database creation failed! >see log file /var/lib/bacula/rpm_db.log >if this is the first bacula installation >please check and run the following scripts: > /usr/lib64/bacula/create_bacula_database > /usr/lib64/bacula/make_bacula_tables > /usr/lib64/bacula/grant_bacula_privileges >else manually update the database to version 14 using the scripts: > /usr/lib64/bacula/update_mysql_tables_X_to_Y >and: > /usr/lib64/bacula/update_bacula_tables > >********* > >Now run these scripts manually in the same sequence and add the option -p (for password) >use the mysql root password > ># /usr/lib64/bacula/create_bacula_database -p >Enter password: >Creation of bacula database succeeded > >The next one will take a little while: ># /usr/lib64/bacula/make_bacula_tables -p >Enter password: >Creation of Bacula MySQL tables succeeded. > > ># /usr/lib64/bacula/grant_bacula_privileges -p >Enter password: >(you'll get lots of output) >Privileges for user bacula granted on database bacula. > >This is it. >Now you either need to reboot or better start the daemons: ># systemctl start bacula-dir ># systemctl start bacula-sd ># systemctl start bacula-fd > >You can now run some check: >in a shell as root, type <bconsole> > >You should see this reply: >Connecting to Director localhost:9101 >1000 OK: localhost-dir Version: 5.2.13 (19 February 2013) >Enter a period to cancel a command. > >now you can enter some commands as shown on some how-tos such as: >http://www.lucasmanual.com/mywiki/Bacula > >Please be aware the how-to shows results as if bacula already run a job. > >There is a little change you need to make to the /etc/bacula/bacula-dir.conf in order to have bacula automatically add names to the backup volumes > >Section: ># File Pool definition >add this line >LabelFormat = "Vol" > >(or whatever you prefer) > >don't forget the run systemctl restart baula-dir after making a change to the config file. >now quit bconsole by typing quit >try that gui admin interface by either typing bat as root in a shell or go the usual graphic way, start> tools >system tools >Bacula Administration Tool (QT) > >Try to do a backup (a decent set has been already configured for testing purposes) >Be patient, it will take a short while to do the backup >Try the other Icons. > > >Let me know if I missed anything or made mistakes. > >
bacula Testing If using mysql as databes, install: bacula-bat (graphical interface) bacula-console bacula-dir-mysql bacula-fd bacula-sd If you applied a password to your mysql database (the strongly recommanded way) using mcc from a root shell, you can see these messages in the shell: ********* Hmm, doesn't look like you have an existing database. Creating MySQL bacula database... Creating bacula tables... Granting privileges for MySQL user bacula... automatic database creation failed! see log file /var/lib/bacula/rpm_db.log if this is the first bacula installation please check and run the following scripts: /usr/lib64/bacula/create_bacula_database /usr/lib64/bacula/make_bacula_tables /usr/lib64/bacula/grant_bacula_privileges else manually update the database to version 14 using the scripts: /usr/lib64/bacula/update_mysql_tables_X_to_Y and: /usr/lib64/bacula/update_bacula_tables ********* Now run these scripts manually in the same sequence and add the option -p (for password) use the mysql root password # /usr/lib64/bacula/create_bacula_database -p Enter password: Creation of bacula database succeeded The next one will take a little while: # /usr/lib64/bacula/make_bacula_tables -p Enter password: Creation of Bacula MySQL tables succeeded. # /usr/lib64/bacula/grant_bacula_privileges -p Enter password: (you'll get lots of output) Privileges for user bacula granted on database bacula. This is it. Now you either need to reboot or better start the daemons: # systemctl start bacula-dir # systemctl start bacula-sd # systemctl start bacula-fd You can now run some check: in a shell as root, type <bconsole> You should see this reply: Connecting to Director localhost:9101 1000 OK: localhost-dir Version: 5.2.13 (19 February 2013) Enter a period to cancel a command. now you can enter some commands as shown on some how-tos such as: http://www.lucasmanual.com/mywiki/Bacula Please be aware the how-to shows results as if bacula already run a job. There is a little change you need to make to the /etc/bacula/bacula-dir.conf in order to have bacula automatically add names to the backup volumes Section: # File Pool definition add this line LabelFormat = "Vol" (or whatever you prefer) don't forget the run systemctl restart baula-dir after making a change to the config file. now quit bconsole by typing quit try that gui admin interface by either typing bat as root in a shell or go the usual graphic way, start> tools >system tools >Bacula Administration Tool (QT) Try to do a backup (a decent set has been already configured for testing purposes) Be patient, it will take a short while to do the backup Try the other Icons. Let me know if I missed anything or made mistakes.
View Attachment As Raw
Actions:
View
Attachments on
bug 13616
: 5346