Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
update release notes, extend catalog maintance
Browse files Browse the repository at this point in the history
  • Loading branch information
joergsteffens committed Apr 25, 2014
1 parent eb7fb0d commit 4dc55fe
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 10 deletions.
32 changes: 32 additions & 0 deletions manuals/en/main/catmaintenance.tex
Expand Up @@ -92,6 +92,38 @@ \section{Catalog Database}
Depending on the distribution you're using, this require additional configuration.
See the following section about howto achieve this for the different database systems.


To view and test the currently configured settings, use following commands:
\begin{commands}{Show current database configuration}
<command> </command><parameter>/usr/sbin/bareos-dbcheck -B -c /etc/bareos/bareos-dir.conf</parameter>
catalog=MyCatalog
db_name=bareos
db_driver=mysql
db_user=bareos
db_password=YourPassword
db_address=
db_port=0
db_socket=
db_type=MySQL
working_dir=/var/lib/bareos
\end{commands}

\begin{commands}{Test the database connection. Example: wrong password}
<command> </command><parameter>/usr/sbin/bareos-dir -t -f -d 500</parameter>
[...]
bareos-dir: mysql.c:204-0 Error 1045 (28000): Access denied for user 'bareos'@'localhost' (using password: YES)
bareos-dir: dird.c:1114-0 Could not open Catalog "MyCatalog", database "bareos".
bareos-dir: dird.c:1119-0 mysql.c:200 Unable to connect to MySQL server.
Database=bareos User=bareos
MySQL connect failed either server not running or your authorization is incorrect.
bareos-dir: mysql.c:239-0 closedb ref=0 connected=0 db=0
25-Apr 16:25 bareos-dir ERROR TERMINATION
Please correct configuration file: bareos-dir.conf
\end{commands}




\subsection{PostgreSQL}

On most distributions, PostgreSQL uses ident to allow access to the database system.
Expand Down
4 changes: 2 additions & 2 deletions manuals/en/main/install.tex
Expand Up @@ -198,8 +198,8 @@ \subsection{MySQL}
/usr/lib/bareos/scripts/grant_bareos_privileges
\end{commands}
As some Bareos updates also require a database schema update,
the file \file{/root/.my.cnf} might also be useful in the future.
As some Bareos updates require a database schema update,
therefore the file \file{/root/.my.cnf} might also be useful in the future.
\section{Start the daemons}
Expand Down
16 changes: 8 additions & 8 deletions manuals/en/main/releasenotes.tex
Expand Up @@ -25,7 +25,7 @@ \section*{Bareos-13.2}
\releasenote{13.2.3}{

\begin{tabular}{l l}
Release Date & 2013-12-31 \\
Code Release & 2014-03-11 \\
Database Version: & 2002\\
& Database update required, see the \ilink{Updating Bareos}{bareos-update} section\\
\end{tabular}
Expand All @@ -36,7 +36,7 @@ \section*{Bareos-13.2}
\releasenote{13.2.2}{

\begin{tabular}{l l}
Release Date & 2013-11-19 \\
Code Release & 2013-11-19 \\
Database Version: & 2001 (unchanged)\\
\end{tabular}
}
Expand All @@ -49,7 +49,7 @@ \section*{Bareos-12.4}
\releasenote{12.4.6}{

\begin{tabular}{l l}
Release Date & 2013-11-19 \\
Code Release & 2013-11-19 \\
Database Version: & 2001 (unchanged)\\
\end{tabular}
}
Expand All @@ -59,7 +59,7 @@ \section*{Bareos-12.4}
\releasenote{12.4.5}{

\begin{tabular}{l l}
Release Date & 2013-09-10 \\
Code Release & 2013-09-10 \\
Database Version: & 2001 (unchanged)\\
\end{tabular}
}
Expand All @@ -68,7 +68,7 @@ \section*{Bareos-12.4}
\releasenote{12.4.4}{

\begin{tabular}{l l}
Release Date & 2013-06-17 \\
Code Release & 2013-06-17 \\
Database Version: & 2001 (unchanged)\\
\end{tabular}
}
Expand All @@ -77,7 +77,7 @@ \section*{Bareos-12.4}
\releasenote{12.4.3}{

\begin{tabular}{l l}
Release Date & 2013-04-15 \\
Code Release & 2013-04-15 \\
Database Version: & 2001 (unchanged)\\
\end{tabular}
}
Expand All @@ -86,15 +86,15 @@ \section*{Bareos-12.4}
\releasenote{12.4.2}{

\begin{tabular}{l l}
Release Date & 2013-03-03 \\
Code Release & 2013-03-03 \\
Database Version: & 2001 (unchanged)\\
\end{tabular}
}

\releasenote{12.4.1}{

\begin{tabular}{l l}
Release Date & 2013-02-06 \\
Code Release & 2013-02-06 \\
Database Version: & 2001 (initial)\\
\end{tabular}

Expand Down

0 comments on commit 4dc55fe

Please sign in to comment.