From e7fef44fa76109bc0590524096ce821554c7f047 Mon Sep 17 00:00:00 2001 From: Philippe Chauvat Date: Mon, 28 Oct 2013 17:13:21 +0100 Subject: [PATCH] This fix give an answer to the documentation bug https://bugs.baculasystems.com/view.php?id=7 adding a new appendix with job status, levels and types. Please note, it is using the booktabs package. --- docs/manuals/bacula.sty.in | 1 + docs/manuals/en/main/jobstatus.tex | 15 +++++++ docs/manuals/en/main/main.tex | 1 + docs/manuals/en/main/table_job_levels.tex | 44 +++++++++++++++++++++ docs/manuals/en/main/table_job_status.tex | 48 +++++++++++++++++++++++ docs/manuals/en/main/table_job_types.tex | 33 ++++++++++++++++ 6 files changed, 142 insertions(+) create mode 100644 docs/manuals/en/main/jobstatus.tex create mode 100644 docs/manuals/en/main/table_job_levels.tex create mode 100644 docs/manuals/en/main/table_job_status.tex create mode 100644 docs/manuals/en/main/table_job_types.tex diff --git a/docs/manuals/bacula.sty.in b/docs/manuals/bacula.sty.in index f763d959..8cd831b7 100644 --- a/docs/manuals/bacula.sty.in +++ b/docs/manuals/bacula.sty.in @@ -39,6 +39,7 @@ \pdfminorversion=4 \def\version{@VERSION@} \newenvironment{bsysitemize}{\renewcommand\labelitemi{\textcolor{bsysredtwo}{\ensuremath{\filledsquare}}}\renewcommand\labelitemii{\textcolor{bsysredtwo}{--}}\begin{itemize}}{\end{itemize}} +\usepackage{booktabs} %%% %%% Philippe Chauvat %%% 23-oct-2013 - Definitions used diff --git a/docs/manuals/en/main/jobstatus.tex b/docs/manuals/en/main/jobstatus.tex new file mode 100644 index 00000000..7a775f99 --- /dev/null +++ b/docs/manuals/en/main/jobstatus.tex @@ -0,0 +1,15 @@ +\chapter{Job status} +\label{JobStatusChapter} +\index[general]{Job!Status} +\index[general]{Status!Job} + +\section{Job levels} + +The table \vref{tab-job-levels} describes the several levels for a job. +\LTXtable{\linewidth}{table_job_levels} + +The table \vref{tab-job-types} describes the several type for a job. +\LTXtable{\linewidth}{table_job_types} + +The table \vref{tab-job-types} describes the several status for a job. +\LTXtable{\linewidth}{table_job_status} diff --git a/docs/manuals/en/main/main.tex b/docs/manuals/en/main/main.tex index 376f49fc..7bc5b9bf 100644 --- a/docs/manuals/en/main/main.tex +++ b/docs/manuals/en/main/main.tex @@ -128,6 +128,7 @@ lscape,pdfpages,ifthen,setspace,colortbl,diagbox} %\appendix \begin{appendices} \begin{small} +\include{jobstatus} \include{license} \include{projects} \include{thanks} diff --git a/docs/manuals/en/main/table_job_levels.tex b/docs/manuals/en/main/table_job_levels.tex new file mode 100644 index 00000000..690131b0 --- /dev/null +++ b/docs/manuals/en/main/table_job_levels.tex @@ -0,0 +1,44 @@ +\begin{longtable}{cX} +\caption{Job levels}\label{tab-job-levels}\\ +\toprule +\rowcolor{bsysredtwo} +\multicolumn{1}{c}{\textbf{Level}} & +\multicolumn{1}{c}{\textbf{Description}} \\ +\endfirsthead +\caption[]{Cont.}\\ +\toprule +\rowcolor{bsysredtwo} +\multicolumn{1}{c}{\textbf{Level}} & +\multicolumn{1}{c}{\textbf{Description}} \\ +\endhead +\midrule +\rowcolor{white} +\multicolumn{2}{c}{See on next page}\\ +\endfoot +\bottomrule +\endlastfoot +\midrule +\rowcolor{lightbsysgrey} +\multicolumn{2}{l}{\emph{Backup levels}} \\ +\midrule +F & Full backup: Every files \\ +I & Incremental: Files modified since last backup \\ +D & Differential: Files modified since last full backup \\ +S & Since: Not used \\ +f & Virtual full backup \\ +\midrule +\rowcolor{lightbsysgrey} +\multicolumn{2}{l}{\emph{Verification levels}} \\ +\midrule +C & Verify from Catalog \\ +V & Verify: Init database \\ +O & Verify volume to Catalog entries \\ +d & Verify disk attributes to Catalog \\ +A & Verify data on volume \\ +\midrule +\rowcolor{lightbsysgrey} +\multicolumn{2}{l}{\emph{Others}} \\ +\midrule +B & Base level job \\ +~ & None: for Restore and Admin \\ +\end{longtable} diff --git a/docs/manuals/en/main/table_job_status.tex b/docs/manuals/en/main/table_job_status.tex new file mode 100644 index 00000000..bb59db76 --- /dev/null +++ b/docs/manuals/en/main/table_job_status.tex @@ -0,0 +1,48 @@ +\begin{longtable}{cX} +\caption{Job Status}\label{tab-job-status}\\ +\toprule +\rowcolor{bsysredtwo} +\multicolumn{1}{c}{\textbf{Status}} & +\multicolumn{1}{c}{\textbf{Description}} \\ +\midrule +\endfirsthead +\caption[]{Cont.}\\ +\toprule +\rowcolor{bsysredtwo} +\multicolumn{1}{c}{\textbf{Status}} & +\multicolumn{1}{c}{\textbf{Description}} \\ +\midrule +\endhead +\midrule +\rowcolor{white} +\multicolumn{2}{c}{See on next page}\\ +\endfoot +\bottomrule +\endlastfoot +A & Job canceled by user \\ +B & Job blocked \\ +C & Job created but not yet running \\ +D & Verify differences \\ +E & Job terminated in error \\ +F & Job waiting on File daemon \\ +I & Incomplete Job \\ +L & Committing data (last despool) \\ +M & Job waiting for Mount \\ +R & Job running \\ +S & Job waiting on the Storage daemon \\ +T & Job terminated normally \\ +W & Job terminated normally with warnings \\ +a & SD despooling attributes \\ +c & Waiting for Client resource \\ +d & Waiting for maximum jobs \\ +e & Non-fatal error \\ +f & Fatal error \\ +i & Doing batch insert file records \\ +j & Waiting for job resource \\ +l & Doing data despooling \\ +m & Waiting for new media \\ +p & Waiting for higher priority jobs to finish \\ +q & Queued waiting for device \\ +s & Waiting for storage resource \\ +t & Waiting for start time \\ +\end{longtable} diff --git a/docs/manuals/en/main/table_job_types.tex b/docs/manuals/en/main/table_job_types.tex new file mode 100644 index 00000000..d983f71c --- /dev/null +++ b/docs/manuals/en/main/table_job_types.tex @@ -0,0 +1,33 @@ +\begin{longtable}{cX} +\caption{Job types}\label{tab-job-types}\\ +\toprule +\rowcolor{bsysredtwo} +\multicolumn{1}{c}{\textbf{Type}} & +\multicolumn{1}{c}{\textbf{Description}} \\ +\endfirsthead +\caption[]{Cont.}\\ +\toprule +\rowcolor{bsysredtwo} +\multicolumn{1}{c}{\textbf{Type}} & +\multicolumn{1}{c}{\textbf{Description}} \\ +\endhead +\midrule +\rowcolor{white} +\multicolumn{2}{c}{See on next page}\\ +\endfoot +\bottomrule +\endlastfoot +\midrule +B & Backup Job \\ +V & Verify Job \\ +R & Restore Job \\ +D & Admin job \\ +C & Copy of a Job \\ +c & Copy Job \\ +M & A previous backup job that was migrated \\ +g & Migration Job \\ +A & Archive Job \\ +S & Scan Job \\ +U & Console program \\ +I & Internal system ''job'' \\ +\end{longtable} -- 2.39.5