]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manuals/en/catalog/catmaintenance.tex
Fix suggested in bug 1273
[bacula/docs] / docs / manuals / en / catalog / catmaintenance.tex
index f0abaa6fe614b28eea5c17672e2b6ac3196877b4..3766c7aebfac380d66360dceaf535f861147d524 100644 (file)
@@ -428,7 +428,7 @@ On SQLite, you can check if you have the proper indexes by:
 
 \footnotesize
 \begin{verbatim}
-sqlite <path>bacula.db
+sqlite <path>/bacula.db
 select * from sqlite_master where type='index' and tbl_name='File';
 \end{verbatim}
 \normalsize
@@ -438,7 +438,7 @@ create them with the following commands:
 
 \footnotesize
 \begin{verbatim}
-mysql bacula
+sqlite <path>/bacula.db
 CREATE INDEX file_jobid_idx on File (JobId);
 CREATE INDEX file_jfp_idx on File (JobId, FilenameId, PathId);
 \end{verbatim}
@@ -524,18 +524,18 @@ Director's configuration file. Note, in the case of SQLite, it is necessary to
 completely delete (rm) the old database before creating a new compressed
 version. 
 
-\section{Migrating from SQLite to MySQL}
+\section{Migrating from SQLite to MySQL or PostgreSQL}
 \index[general]{MySQL!Migrating from SQLite to }
-\index[general]{Migrating from SQLite to MySQL }
+\index[general]{Migrating from SQLite to MySQL or PostgreSQL}
 
 You may begin using Bacula with SQLite then later find that you want to switch
-to MySQL for any of a number of reasons: SQLite tends to use more disk than
-MySQL; when the database is corrupted it is often more catastrophic than
-with MySQL or PostgreSQL.
-Several users have succeeded in converting from SQLite to MySQL by
-exporting the MySQL data and then processing it with Perl scripts
-prior to putting it into MySQL. This is, however, not a simple
-process.
+to MySQL or Postgres for any of a number of reasons: SQLite tends to use more
+disk than MySQL; when the database is corrupted it is often more catastrophic
+than with MySQL or PostgreSQL.  Several users have succeeded in converting by
+exporting the SQLite data and then processing it with Perl scripts prior to
+putting it into MySQL or PostgreSQL. This is, however, not a simple process.
+Scripts are available on bacula source distribution under
+\texttt{examples/database}.
 
 \label{BackingUpBacula}
 \section{Backing Up Your Bacula Database}