\label{_ConsoleChapter}
\index[general]{Console!Bacula}
\index[general]{Bacula Console}
-\index[console]{Console!Bacula}
-\index[console]{Bacula Console}
+\index[general]{Console!Bacula}
+\index[general]{Bacula Console}
Die {\bf Bacula Console} (manchmal auch das BenutzerInterface genannt)
ist ein Programm, dass es dem Anwender oder System Aministrator erlaub,
\section{Console Konfiguration}
\index[general]{Console Konfiguration}
\index[general]{Konfiguration!Console}
-\index[console]{Console Konfiguration}
-\index[console]{Konfiguration!Console}
+\index[general]{Console Konfiguration}
+\index[general]{Konfiguration!Console}
Wenn Sie die Bacula-Console starten, liest sie ihre Standard-Konfigurations-Datei
namens {\bf bconsole.conf}, bzw. {\bf bgnome-console.conf} f\"{u}r die GNOME-Console, ein.
\section{Benutzung des Console-Programms}
\index[general]{Benutzung des Console-Programms}
\index[general]{Programm!Benutzung des Console-}
-\index[console]{Benutzung des Console-Programms}
-\index[console]{Programm!Benutzungs des Console-}
+\index[general]{Benutzung des Console-Programms}
+\index[general]{Programm!Benutzungs des Console-}
Das Console-Programm kann mit den folgenden Optionen gestartet werden:
\footnotesize
\section{Beenden des Console-Programs}
\index[general]{Programm!Beenden des Console-}
\index[general]{Beenden des Console-Programms}
-\index[console]{Programm!Beenden des Console-}
-\index[console]{Beenden des Console-Programms}
+\index[general]{Programm!Beenden des Console-}
+\index[general]{Beenden des Console-Programms}
Normalerweise beenden Sie das Console-Programm durch die Eingabe von {\bf quit} oder {\bf exit}.
Allerdings wartet die Console bis der Director-Dienst das Kommando best\"{a}tigt. Wenn der
\section{Alphabetische Liste der Console-Schl\"{u}sselw\"{o}rter}
\index[general]{Schl\"{u}sselw\"{o}rter!Alphabetische Liste der Console}
\index[general]{Alphabetische Liste der Console-Schl\"{u}sselw\"{o}rter}
-\index[console]{Schl\"{u}sselw\"{o}rter!Alphabetische Liste der Console}
-\index[console]{Alphabetische Liste der Console-Schl\"{u}sselw\"{o}rter}
+\index[general]{Schl\"{u}sselw\"{o}rter!Alphabetische Liste der Console}
+\index[general]{Alphabetische Liste der Console-Schl\"{u}sselw\"{o}rter}
Wenn es nicht anders angegeben ist, ben\"{o}tigt jedes der folgenden Schl\"{u}sselw\"{o}rter
(Parameter der Console-Befehle) ein Argument, welches dem Schl\"{u}sselwort,
getrennt durch ein Gleichheitszeichen, folgt.
\section{Alphabetische Liste der Console-Kommandos}
\index[general]{Kommandos!Alphabetische Liste der Console-}
\index[general]{Alphabetische Liste der Console-Kommandos}
-\index[console]{Kommandos!Alphabetische Liste der Console-}
-\index[console]{Alphabetische Liste der Console-Kommandos}
+\index[general]{Kommandos!Alphabetische Liste der Console-}
+\index[general]{Alphabetische Liste der Console-Kommandos}
Die folgenden Kommandos sind derzeit verf\"{u}gbar:
\begin{description}
\item [{add [pool=\lt{}pool-name\gt{} storage=\lt{}storage\gt{}
jobid=\lt{}JobId\gt{}]} ]
- \index[console]{add}
+ \index[general]{add}
Das add-Kommando wird benutzt um Volumes zu einem bestehenden Pool
hinzuzuf\"{u}gen. Dazu wird der Volume-Eintrag in der Datenbank erzeugt
und das Volume dem Pool zugeordnet. Dabei erfolgt kein physikalischer Zugriff
in der Beschreibung des label-Kommandos.
\item [autodisplay on/off]
- \index[console]{autodisplay on/off}
+ \index[general]{autodisplay on/off}
Das autodisplay-Kommando kennt zwei Parameter: {\bf on} und {\bf off},
wodurch die automatische Anzeige von Nachrichten in der Console entsprechend
ein- oder ausgeschaltet wird. Der Standardwert ist {\bf off}, was bedeutet, dass
empfangen hat.
\item [automount on/off]
- \index[console]{automount on/off}
+ \index[general]{automount on/off}
Das automount-Kommando kennt zwei Parameter: {\bf on} und {\bf off},
die entsprechend das automatische mounten nach dem labeln ({\bf label}-Kommando)
an- oder ausschalten. Der Standardwert ist on. Wenn automount ausgeschaltet ist,
um es benutzen zu k\"{o}nnen.
\item [{cancel [jobid=\lt{}number\gt{} job=\lt{}job-name\gt{} ujobid=\lt{}unique-jobid\gt{}]}]
- \index[console]{cancel jobid}
+ \index[general]{cancel jobid}
Das cancel-Kommande wird benutzt um einen Job abzubrechen und kennt die
Parameter {\bf jobid=nnn} or {\bf job=xxx}, wober jobid die numerische JobID ist
und job der Job-Name. Wenn Sie weder job noch jobid angeben, listet die Console
Dise Zeit ist aber abh\"{a}ngig davon, was der Job gerade tut.
\item [{create [pool=\lt{}pool-name\gt{}]}]
- \index[console]{create pool}
+ \index[general]{create pool}
Das create-Kommando wird normalerweise nicht benutzt, da die Pool-Eintr\"{a}ge
im Katalog automatisch angelegt werden, wenn der Director-Dienst startet und
er seine Pool-Konfiguration aus den Konfigurations-Dateien einliest. Falls ben\"{o}tigt,
\item [{delete [volume=\lt{}vol-name\gt{} pool=\lt{}pool-name\gt{} job
jobid=\lt{}id\gt{}]}]
- \index[console]{delete}
+ \index[general]{delete}
Das delete-Kommando wird benutzt um ein Volume, einen Pool oder einen Job-Eintrag,
sowie jeweils alle dazugeh\"{o}rigen Datenbank-Eintr\"{a}ge, aus dem Katalog zu
entfernen. Das Kommando \"{a}ndert nur die Katalog-Datenbank, es hat keine
(z.B. o-r) verarbeiten.
\item [disable job\lt{}job-name\gt{}]
- \index[console]{disable}
+ \index[general]{disable}
Das disable-Kommando erlaubt es Ihnen, zu verhindern das ein Job
automatisch durch den Director-Dienst ausgef\"{u}hrt wird. Wenn Sie den Director-Dienst
neu starten, wird der Status des Jobs wieder auf den Wert gesetzt, der
im Job-Eintrag der Director-Konfiguration eingetragen ist.
\item [enable job\lt{}job-name\gt{}]
- \index[console]{enable}
+ \index[general]{enable}
Das enable-Kommando erlaubt es Ihnen, einen Job der durch das
disable-Kommando aus der automatischen Job-Planung entfernt wurde,
wieder zu aktivieren. Wenn Sie den Director-Dienst neu starten,
\label{estimate}
\item [estimate]
- \index[console]{estimate}
+ \index[general]{estimate}
Mit dem estimate-Kommando k\"{o}nnen Sie sich anzeigen lassen, welche
Dateien durch einen bestimmten Job gesichert werden, ohne diesen Job
ausf\"{u}hren zu m\"{u}ssen. Standardm\"{a}{\ss}ig wird dabei ein Voll-Backup
f\"{u}r ein FileSet anzuzeigen, bei dem die sparse-Option gesetzt ist.
\item [help]
- \index[console]{help}
+ \index[general]{help}
Das help-Kommando zeigt alle verf\"{u}gbaren Kommandos mit einer kurzen Beschreibung an.
\item [label]
- \index[console]{label}
- \index[console]{relabel}
+ \index[general]{label}
+ \index[general]{relabel}
\index[general]{label}
\index[general]{relabel}
Das label-Kommando wird benutzt um physikalische Volumes zu labeln.
\normalsize
\item [list]
- \index[console]{list}
+ \index[general]{list}
Das list-Kommando zeigt den angegebenen Inhalt der Katalog-Datenbank an.
Die verschiedenen Felder jedes Eintrags werden in einer Zeile ausgegeben.
Die verschiedenen M\"{o}glichkeiten sind:
list jobname=<job-name> (identisch mit dem oberen)
- Im oberen Beispiel k\"{o}nnen Sie auch den Parameter limit=nn
- hinzuf\"{u}gen, um die Ausgabe des Kommandos auf nn Jobs zu begrenzen
+ Im oberen Beispiel k\"{o}nnen Sie auch den Parameter limit=nn
+ hinzuf\"{u}gen, um die Ausgabe des Kommandos auf nn Jobs zu begrenzen
list jobmedia
file, you use the Console command {\bf show clients}.
\item [llist]
- \index[console]{llist}
+ \index[general]{llist}
The llist or "long list" command takes all the same arguments that the
list command described above does. The difference is that the llist
command list the full contents of each database record selected. It
\normalsize
\item [messages]
- \index[console]{messages}
+ \index[general]{messages}
This command causes any pending console messages to be immediately displayed.
\item [mount]
- \index[console]{mount}
+ \index[general]{mount}
The mount command is used to get Bacula to read a volume on a physical
device. It is a way to tell Bacula that you have mounted a tape and
that Bacula should examine the tape. This command is normally
program.
\item[python]
- \index[console]{python}
+ \index[general]{python}
The python command takes a single argument {\bf restart}:
python restart
\label{ManualPruning}
\item [prune]
- \index[console]{prune}
+ \index[general]{prune}
The Prune command allows you to safely remove expired database records
from Jobs and Volumes. This command works only on the Catalog database
and does not affect data written to Volumes. In all cases, the Prune
Append, otherwise the pruning will not take place.
\item [purge]
- \index[console]{purge}
+ \index[general]{purge}
The Purge command will delete associated Catalog database records from
Jobs and Volumes without considering the retention period. {\bf Purge}
works only on the Catalog database and does not affect data written to
The actual data written to the Volume will be unaffected by this command.
\item [relabel]
- \index[console]{relabel}
+ \index[general]{relabel}
\index[general]{relabel}
This command is used to label physical volumes. The full form of this
command is:
on the Volume is lost and cannot be recovered.
\item [release]
- \index[console]{release}
+ \index[general]{release}
This command is used to cause the Storage daemon to rewind (release) the
current tape in the drive, and to re-read the Volume label the next time
the tape is used.
command to cause Bacula to completely release (close) the device.
\item [reload]
- \index[console]{reload}
+ \index[general]{reload}
The reload command causes the Director to re-read its configuration
file and apply the new values. The new values will take effect
immediately for all new jobs. However, if you change schedules,
\label{restore_command}
\item [restore]
- \index[console]{restore}
+ \index[general]{restore}
The restore command allows you to select one or more Jobs (JobIds) to be
restored using various methods. Once the JobIds are selected, the File
records for those Jobs are placed in an internal Bacula directory tree,
to that client.
\item [run]
- \index[console]{run}
+ \index[general]{run}
This command allows you to schedule jobs to be run immediately. The full form
of the command is:
desired start time in YYYY-MM-DD HH:MM:SS format.
\item [setdebug]
- \index[console]{setdebug}
- \index[dir]{setdebug}
- \index[dir]{debugging}
- \index[dir]{debugging Win32}
- \index[dir]{Windows!debugging}
+ \index[general]{setdebug}
+ \index[general]{setdebug}
+ \index[general]{debugging}
+ \index[general]{debugging Win32}
+ \index[general]{Windows!debugging}
This command is used to set the debug level in each daemon. The form of this
command is:
you are done.
\item [show]
- \index[console]{show}
- \index[dir]{show}
+ \index[general]{show}
+ \index[general]{show}
The show command will list the Director's resource records as defined in
the Director's configuration file (normally {\bf bacula-dir.conf}).
This command is used mainly for debugging purposes by developers.
with the {\bf list}, which displays the contents of the catalog.
\item [sqlquery]
- \index[console]{sqlquery}
+ \index[general]{sqlquery}
The sqlquery command puts the Console program into SQL query mode where
each line you enter is concatenated to the previous line until a
semicolon (;) is seen. The semicolon terminates the command, which is
SQLite documentation.
\item [status]
- \index[dir]{status}
+ \index[general]{status}
This command will display the status of the next jobs that are scheduled
during the next 24 hours as well as the status of currently
running jobs. The full form of this command is:
media -- that is Bacula needs you to label a Volume.
\item [unmount]
- \index[console]{unmount}
+ \index[general]{unmount}
This command causes the indicated Bacula Storage daemon to unmount the
specified device. The forms of the command are the same as the mount command:
\footnotesize
\label{UpdateCommand}
\item [update]
- \index[console]{update}
+ \index[general]{update}
This command will update the catalog for either a specific Pool record, a Volume
record, or the Slots in an autochanger with barcode capability. In the case
of updating a Pool record, the new information will be automatically taken
\normalsize
\item [use]
- \index[console]{use}
+ \index[general]{use}
This command allows you to specify which Catalog database to use. Normally,
you will be using only one database so this will be done automatically. In
the case that you are using more than one database, you can use this command
\item [var]
\label{var}
- \index[console]{var name}
+ \index[general]{var name}
This command takes a string or quoted string and does variable expansion on
it the same way variable expansion is done on the {\bf LabelFormat} string.
Thus, for the most part, you can test your LabelFormat strings. The
good idea of what is going to happen in the real case.
\item [version]
- \index[console]{version}
+ \index[general]{version}
The command prints the Director's version.
\item [quit]
- \index[console]{quit}
+ \index[general]{quit}
This command terminates the console program. The console program sends the
{\bf quit} request to the Director and waits for acknowledgment. If the
Director is busy doing a previous command for you that has not terminated, it
command (i.e. quit preceded by a period).
\item [query]
- \index[console]{query}
+ \index[general]{query}
This command reads a predefined SQL query from the query file (the name and
location of the query file is defined with the QueryFile resource record in
the Director's configuration file). You are prompted to select a query from
\normalsize
\item [exit]
- \index[console]{exit}
+ \index[general]{exit}
This command terminates the console program.
\item [wait]
- \index[console]{wait}
+ \index[general]{wait}
The wait command causes the Director to pause until there are no jobs
running. This command is useful in a batch situation such as regression
testing where you wish to start a job and wait until that job completes
\begin{description}
\item [@input \lt{}filename\gt{}]
- \index[console]{@input \lt{}filename\gt{}}
+ \index[general]{@input \lt{}filename\gt{}}
Read and execute the commands contained in the file specified.
\item [@output \lt{}filename\gt{} w/a]
- \index[console]{@output \lt{}filename\gt{} w/a}
+ \index[general]{@output \lt{}filename\gt{} w/a}
Send all following output to the filename specified either overwriting the
file (w) or appending to the file (a). To redirect the output to the
terminal, simply enter {\bf @output} without a filename specification.
\normalsize
\item [@tee \lt{}filename\gt{} w/a]
- \index[console]{@tee \lt{}filename\gt{} w/a}
+ \index[general]{@tee \lt{}filename\gt{} w/a}
Send all subsequent output to both the specified file and the terminal. It is
turned off by specifying {\bf @tee} or {\bf @output} without a filename.
\item [@sleep \lt{}seconds\gt{}]
- \index[console]{@sleep \lt{}seconds\gt{}}
+ \index[general]{@sleep \lt{}seconds\gt{}}
Sleep the specified number of seconds.
\item [@time]
- \index[console]{@time}
+ \index[general]{@time}
Print the current time and date.
\item [@version]
- \index[console]{@version}
+ \index[general]{@version}
Print the console's version.
\item [@quit]
- \index[console]{@quit}
+ \index[general]{@quit}
quit
\item [@exit]
- \index[console]{@exit}
+ \index[general]{@exit}
quit
\item [@\# anything]
- \index[console]{anything}
+ \index[general]{anything}
Comment
\end{description}