./bconsole
Alternatively to running the command line console, if you have
-GNOME installed and used the {\bf \verb:--:enable-gnome} on the configure command,
-you may use the GNOME Console program:
+Qt4 installed and used the {\bf \verb:--:enable-bat} on the configure command,
+you may use the Bacula Administration Tool ({\bf bat}):
-./gnome-console
+./bat
-Another possibility is to run the wxWidgets program {\bf bwx-console}.
+Which has a graphical interface, and many more features than bconsole.
+
+Two other possibilities are to run the GNOME console
+{\bf bgnome-console} or the wxWidgets program {\bf bwx-console}.
For simplicity, here we will describe only the {\bf ./bconsole} program. Most
-of what is described here applies equally well to {\bf ./gnome-console}
-and to {\bf bwx-console}
+of what is described here applies equally well to {\bf ./bat},
+{\bf ./bgnome-console}, and to {\bf bwx-console}.
The {\bf ./bconsole} runs the Bacula Console program, which connects to the
Director daemon. Since Bacula is a network program, you can run the Console
\begin{verbatim}
[kern@polymatou bin]$ ./bconsole
Connecting to Director lpmatou:9101
-1000 OK: HeadMan Version: 1.30 (28 April 2003)
+1000 OK: HeadMan Version: 2.1.8 (14 May 2007)
*
\end{verbatim}
\normalsize
Command Description
======= ===========
add add media to a pool
- autodisplay autodisplay [on/off] -- console messages
- automount automount [on/off] -- after label
- cancel cancel job=nnn -- cancel a job
+ autodisplay autodisplay [on|off] -- console messages
+ automount automount [on|off] -- after label
+ cancel cancel [<jobid=nnn> | <job=name>] -- cancel a job
create create DB Pool from resource
delete delete [pool=<pool-name> | media volume=<volume-name>]
- estimate performs FileSet estimate debug=1 give full listing
+ disable disable <job=name> -- disable a job
+ enable enable <job=name> -- enable a job
+ estimate performs FileSet estimate, listing gives full listing
exit exit = quit
+ gui gui [on|off] -- non-interactive gui mode
help print this command
+ list list [pools | jobs | jobtotals | media <pool=pool-name> |
+files <jobid=nn>]; from catalog
label label a tape
- list list [pools | jobs | jobtotals | media <pool> |
- files jobid=<nn>]; from catalog
llist full or long list like list command
+ memory print current memory usage
messages messages
mount mount <storage-name>
prune prune expired records from catalog
purge purge records from catalog
- query query catalog
+ python python control commands
quit quit
+ query query catalog
+ restore restore files
relabel relabel a tape
release release <storage-name>
- restore restore files
+ reload reload conf file
run run <job-name>
+ status status [storage | client]=<name>
setdebug sets debug level
+ setip sets new client address -- if authorized
show show (resource records) [jobs | pools | ... | all]
sqlquery use SQL to query catalog
- status status [storage | client]=<name>
time print current time
+ trace turn on/off trace to file
unmount unmount <storage-name>
- update update Volume or Pool
+ umount umount <storage-name> for old-time Unix guys
+ update update Volume, Pool or slots
use use catalog xxx
var does variable expansion
version print Director version
- wait wait until no jobs are running
+ wait wait until no jobs are running [<jobname=name> | <jobid=nnn> | <ujobid=complete_name>]
*
\end{verbatim}
\normalsize