]> git.sur5r.net Git - bacula/docs/commitdiff
translation ~25 % done
authorThomas Glatthor <Thomas.Glatthor@ic3s.de>
Mon, 17 Sep 2007 09:55:52 +0000 (09:55 +0000)
committerThomas Glatthor <Thomas.Glatthor@ic3s.de>
Mon, 17 Sep 2007 09:55:52 +0000 (09:55 +0000)
docs/manual-de/catmaintenance.tex

index a9cdb3617a6dc866c2112210027410427d4cb620..3b6d47a99b03500d549695136ff7d8b2b626491f 100644 (file)
@@ -106,18 +106,18 @@ Mit der Zeit, wie oben schon angemerkt, wird Ihre Datenbank dazu neigen zu wachs
 Auch wenn Bacula regelm\"{a}{\ss}ig Datei-Eintr\"{a}ge l\"{o}scht, wird die {\bf MySQL}-Datenbank
 st\"{a}ndig gr\"{o}{\ss}er werden. Um dies zu vermeiden, muss die Datenbank komprimiert werden.
 Normalerweise kennen gro{\ss}e kommerzielle Datenbanken, wie Oracle, bestimmte Kommandos
-um den verschwendeten Festplattenplatz wieder freizugeben.
-MySQL has the {\bf OPTIMIZE TABLE} command that you can use, and SQLite
-version 2.8.4 and greater has the {\bf VACUUM} command. We leave it to you to
-explore the utility of the {\bf OPTIMIZE TABLE} command in MySQL. 
+um den verschwendeten Festplattenplatz wieder freizugeben. MySQL hat das {\bf OPTIMIZE TABLE}
+Kommando und bei SQLite (Version 2.8.4 und gr\"{o}{\ss}er) k\"{o}nnen Sie das {\bf VACUUM}
+Kommando zu diesem Zweck benutzen. Wir \"{u}berlassen es Ihnen, die N\"{u}tzlichkeit von
+{\bf OPTIMIZE TABLE} oder {\bf VACUUM} zu ermitteln.
 
-All database programs have some means of writing the database out in ASCII
-format and then reloading it. Doing so will re-create the database from
-scratch producing a compacted result, so below, we show you how you can do
-this for MySQL, PostgreSQL and SQLite. 
+Alle Datenbanken haben Hilfsmittel, um die enthaltenen Daten im ASCII-Format in eine Datei zu schreiben
+und diese Datei dann auch wieder einzulesen. Wenn man das tut, wird die Datenbank erneut erzeugt, was ein
+sehr kompaktes Datenbank-Format als Ergebnis hat. Weiter unten zeigen wir Ihnen, wie Sie das bei
+MySQL, SQLite und PostgreSQL durchf\"{u}hren k\"{o}nnen.
 
-For a {\bf MySQL} database, you could write the Bacula database as an ASCII
-file (bacula.sql) then reload it by doing the following: 
+Bei einer {\bf MySQL} Datenbank k\"{o}nnen Sie den Inhalt der Katalog-Datenbank mit den folgenden Kommandos
+in eine ASCII-Datei (bacula.sql) schreiben und neu in die Datenbank importieren:
 
 \footnotesize
 \begin{verbatim}
@@ -127,9 +127,9 @@ rm -f bacula.sql
 \end{verbatim}
 \normalsize
 
-Depending on the size of your database, this will take more or less time and a
-fair amount of disk space. For example, if I cd to the location of the MySQL
-Bacula database (typically /opt/mysql/var or something similar) and enter: 
+Abh\"{a}gig von der Gr\"{o}{\ss}e Ihrer Datenbank, wird dies mehr oder weniger Zeit und auch Festplattenplatz
+ben\"{o}tigen. Zum Beispiel, wenn ich in das Verzeichnis wechsle, wo meine MySQL-Datenabnk liegt (typischerweise
+/var/lib/mysql) und diese Kommando ausf\"{u}hre:
 
 \footnotesize
 \begin{verbatim}
@@ -137,41 +137,41 @@ du bacula
 \end{verbatim}
 \normalsize
 
-I get {\bf 620,644} which means there are that many blocks containing 1024
-bytes each or approximately 635 MB of data. After doing the {\bf mysqldump}, I
-had a bacula.sql file that had {\bf 174,356} blocks, and after doing the {\bf
-mysql} command to recreate the database, I ended up with a total of {\bf
-210,464} blocks rather than the original {\bf 629,644}. In other words, the
-compressed version of the database took approximately one third of the space
-of the database that had been in use for about a year. 
+bekomme ich die Ausgabe {\bf 620,644}, was bedeutet dass das Verzeichnis bacula 620.644 Bl\"{o}cke
+von 1024 Bytes auf der Festplatte belegt, meine Datenbank enth\"{a}lt also ca. 635 MB an Daten.
+Nachdem ich das {\bf mysqldump} ausgef\"{u}hrt habe, ist die dabei entstandene Datei bacula.sql
+{\bf 174.356} Bl\"{o}cke gro{\ss}, wenn diese Datei wieder mit dem Kommando {\bf mysql bacula < bacula.sql}
+in die Datenbank importiert wird, ergibt sich eine Datenbankgr\"{o}{\ss}e von nur noch {\bf 210.464}
+Bl\"{o}cken. Mit anderen Worten, die komprimierte Version meiner Datenbank, die seit ca. 1 Jahr
+in Benutzung ist, ist ungef\"{a}hr nur noch ein Drittel so gro{\ss} wie vorher.
 
-As a consequence, I suggest you monitor the size of your database and from
-time to time (once every six months or year), compress it. 
+Als Konsequenz wird empfohlen, auf die Gr\"{o}{\ss}e der Datenbank zu achten und sie von Zeit zu Zeit
+(alle sechs Monate oder j\"{a}hrlich) zu komprimieren.
 
 \label{DatabaseRepair}
 \label{RepairingMySQL}
-\section{Repairing Your MySQL Database}
-\index[general]{Database!Repairing Your MySQL }
-\index[general]{Repairing Your MySQL Database }
-
-If you find that you are getting errors writing to your MySQL database, or
-Bacula hangs each time it tries to access the database, you should consider
-running MySQL's database check and repair routines. The program you need to
-run depends on the type of database indexing you are using. If you are using
-the default, you will probably want to use {\bf myisamchk}. For more details
-on how to do this, please consult the MySQL document at: 
-\elink{
-http://www.mysql.com/doc/en/Repair.html}
-{http://www.mysql.com/doc/en/Repair.html}. 
-
-If the errors you are getting are simply SQL warnings, then you might try
-running dbcheck before (or possibly after) using the MySQL database repair
-program. It can clean up many of the orphaned record problems, and certain
-other inconsistencies in the Bacula database. 
+\section{Reparatur Ihrer MySQL Datenbank}
+\index[general]{Datenbank!Reparatur Ihrer MySQL }
+\index[general]{Reparatur Ihrer MySQL Datenbank }
+
+Wenn Sie bemerken, dass das Schreiben der MySQL-Datenbank zu Fehlern f\"{u}hrt,
+oder das der Director-Dienst h\"{a}ngt, wenn er auf die Datenbank zugreift,
+sollten Sie sich die MySQL Datenbank\"{u}berpr\"{u}fungs- und Reparaturprogramme ansehen.
+Welches Programm Sie laufen lassen sollten, h\"{a}ngt von der von Ihnen benutzten Datenbank-
+Indizierung zusammen. Wenn Sie das Standardverfahren nutzen, werden Sie vermutlich {\bf myisamchk}
+laufen lassen. F\"{a}r n\"{a}here Information lesen Sie bitte auch:
+\elink{http://dev.mysql.com/doc/refman/5.1/de/client-utility-programs.html}
+{http://dev.mysql.com/doc/refman/5.1/de/client-utility-programs.html}. 
+
+Falls die auftretenden Fehler einfache SQL-Warnungen sind, sollten Sie zuerst das von Bacula mitgelieferte
+dbcheck-Programm ausf\"{u}hren, bevor Sie die MySQL-Datenbank-Reparaturprogramme nutzen.
+Dieses Programm kann verwaiste Datenbankeintr\"{a}ge finden und andere Inkonsistenzen in der
+Katalog-Datenbank beheben.
+
+Eine typische Ursache von Datenbankproblemen ist das Volllaufen einer Partition.
+In solch einem Fall muss entweder zus\"{a}tzlicher Platz geschaffen werden, oder
+belegter Platz freigegeben werden, bevor die Datenbank mit {\bf myisamchk} repariert werden kann.
 
-A typical cause of MySQL database problems is if your partition fills. In
-such a case, you will need to create additional space on the partition or
-free up some space then repair the database probably using {\bf myisamchk}.
 Recently my root partition filled and the MySQL database was corrupted.
 Simply running {\bf myisamchk -r} did not fix the problem. However,
 the following script did the trick for me: