From ad80ffae321051159cfca79c4953210afc3e5a25 Mon Sep 17 00:00:00 2001 From: Ludovic Strappazon Date: Tue, 4 Jul 2006 23:10:52 +0000 Subject: [PATCH] Mises a jour. --- docs/manual-fr/Makefile.in | 101 +++++++++---------- docs/manual-fr/filedconf.tex | 2 + docs/manual-fr/images.tex | 109 +++++++++++++++------ docs/manual-fr/install.tex | 2 +- docs/manual-fr/license.tex | 17 +++- docs/manual-fr/storedconf.tex | 176 ++++++++++++++++++---------------- 6 files changed, 236 insertions(+), 171 deletions(-) diff --git a/docs/manual-fr/Makefile.in b/docs/manual-fr/Makefile.in index 6685c953..3ccedb71 100644 --- a/docs/manual-fr/Makefile.in +++ b/docs/manual-fr/Makefile.in @@ -4,47 +4,24 @@ # # To build everything do # make tex -# make links -# make all # make web # make html -# make pdf +# make dvipdf # # or simply # # make # - -IMAGES=../images - -# bacula -- special case below -# running -- special case below - -# -# Note, these are all parts of the manual not in any -# particular order (mostly alphabetic). The order they -# appear in the manual is defined in bacula.tex +# for rapid development do: +# make tex +# make show # -MANUAL = \ - autochangers bootstrap bugs catalog \ - catmaintenance configure consoleconf console critical \ - daemonprotocol dirdconf director disk faq filedconf file \ - firewalls gpl install internaldb kaboom lesser \ - license messagesres monitorconf mysql oldfileset pools \ - porting postgresql progs projects quickstart recycling \ - regression rescuefloppy rescue restore rpm-faq \ - security spooling sqlite state storage \ - storedconf strategies stunnel \ - requirements supportedoses supporteddrives tapetesting \ - thanks tips vars verify win32 \ - daemonprotocol gui-interface \ - supportedchangers \ - md5 mediaformat mempool netprotocol porting smartall +IMAGES=../images first_rule: bacula -bacula: tex web html dvipdf +bacula: tex web html dvipdf mini-clean .SUFFIXES: .tex .html .PHONY: @@ -52,6 +29,8 @@ bacula: tex web html dvipdf tex: + @./update_version + @echo "Making version `cat version.tex`" @cp -fp ${IMAGES}/hires/*.eps . @touch baculai-dir.tex baculai-fd.tex baculai-sd.tex \ baculai-console.tex baculai-general.tex @@ -62,51 +41,50 @@ tex: makeindex bacula.sdx -o bacula.snd >/dev/null 2>/dev/null makeindex bacula.cdx -o bacula.cnd >/dev/null 2>/dev/null -latex -interaction=batchmode bacula.tex - @rm -f *.eps *.old - + -latex -interaction=batchmode bimagemgr.tex pdf: @echo "Making pdfm" @cp -fp ${IMAGES}/hires/*.eps . dvipdfm -p a4 bacula.dvi -# Rename for loading on Web site - mv bacula.pdf dev-bacula.pdf - @rm -f *.eps *.old + dvipdfm -p a4 bimagemgr.dvi dvipdf: @echo "Making dvi to pdf" @cp -fp ${IMAGES}/hires/*.eps . dvipdf bacula.dvi bacula.pdf - @rm -f *.eps *.old + dvipdf bimagemgr.dvi bimagemgr.pdf html: + @echo " " @echo "Making html" -# If you turn on the following, it aborts after a "make clean" -# @./translate_images.pl --from_meaningful_names bacula.html @cp -fp ${IMAGES}/*.eps . + @rm -f next.eps next.png prev.eps prev.png up.eps up.png + @(if [ -f imagename_translations ] ; then \ + ./translate_images.pl --from_meaningful_names bacula.html; \ + fi) latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \ - -init_file latex2html-init.pl bacula >/dev/null - @echo - @./translate_images.pl --to_meaningful_names bacula.html - @rm -f *.eps *.gif *.jpg + -init_file latex2html-init.pl bacula >tex.out 2>&1 + ./translate_images.pl --to_meaningful_names bacula.html + @echo "Done making html" web: @echo "Making web" @mkdir -p bacula - @cp -f imagename_translations bacula -# If you turn on the following, it aborts after a "make clean" -# @./translate_images.pl --from_meaningful_names bacula/Bacula_Users_Guide.html - @rm -rf bacula/*.html @cp -fp ${IMAGES}/*.eps . @rm -f next.eps next.png prev.eps prev.png up.eps up.png @cp -fp ${IMAGES}/*.eps *.txt bacula + @cp -fp ${IMAGES}/*.eps *.txt ${IMAGES}/*.png bacula + @rm -f bacula/xp-*.png @rm -f bacula/next.eps bacula/next.png bacula/prev.eps bacula/prev.png bacula/up.eps bacula/up.png + @rm -rf bacula/*.html latex2html -split 4 -local_icons -t "Bacula User's Guide" -long_titles 4 \ - -toc_stars -contents_in_nav -init_file latex2html-init.pl -white -notransparent bacula >/dev/null - @echo - @./translate_images.pl --to_meaningful_names bacula/Bacula_Users_Guide.html - @cp -f bacula/Bacula_Freque_Asked_Questi.html bacula/faq.html - @rm -f *.eps *.gif *.jpg bacula/*.eps *.old + -toc_stars -contents_in_nav -init_file latex2html-init.pl -white -notransparent bacula >tex.out 2>&1 + ./translate_images.pl --to_meaningful_names bacula/Bacula_Users_Guide.html + cp -f bacula/Bacula_Freque_Asked_Questi.html bacula/faq.html + @echo "Done making web" +show: + xdvi bacula texcheck: ./check_tex.pl bacula.tex @@ -114,13 +92,28 @@ texcheck: main_configs: pic2graph -density 100 main_configs.png +mini-clean: + @rm -f 1 2 3 *.tex~ + @rm -f *.gif *.jpg *.eps + @rm -f *.aux *.cp *.fn *.ky *.log *.pg + @rm -f *.backup *.ilg *.lof *.lot + @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd + @rm -f *.dnd *.old *.out + @rm -f bacula/*.gif bacula/*.jpg bacula/*.eps + @rm -f bacula/*.aux bacula/*.cp bacula/*.fn bacula/*.ky bacula/*.log bacula/*.pg + @rm -f bacula/*.backup bacula/*.ilg bacula/*.lof bacula/*.lot + @rm -f bacula/*.cdx bacula/*.cnd bacula/*.ddx bacula/*.ddn bacula/*.fdx bacula/*.fnd bacula/*.ind bacula/*.sdx bacula/*.snd + @rm -f bacula/*.dnd bacula/*.old bacula/*.out + @rm -f bacula/WARNINGS + + clean: - @rm -f 1 2 3 + @rm -f 1 2 3 *.tex~ @rm -f *.png *.gif *.jpg *.eps @rm -f *.pdf *.aux *.cp *.fn *.ky *.log *.pg - @rm -f *.html *.backup *.pdf *.ps *.dvi *.ilg *.lof *.lot + @rm -f *.html *.backup *.ps *.dvi *.ilg *.lof *.lot @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd - @rm -f *.dnd + @rm -f *.dnd imagename_translations @rm -f *.old WARNINGS *.out *.toc *.idx @rm -f baculai-dir.tex baculai-fd.tex baculai-sd.tex \ baculai-console.tex baculai-general.tex images.tex @@ -130,7 +123,7 @@ distclean: @rm -f 1 2 3 *.tex~ @rm -f *.gif *.jpg *.eps @rm -f *.aux *.cp *.fn *.ky *.log *.pg - @rm -f *.backup *.pdf *.ps *.dvi *.ilg *.lof *.lot + @rm -f *.backup *.ps *.dvi *.ilg *.lof *.lot @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd @rm -f *.dnd imagename_translations @rm -f *.old WARNINGS *.out *.toc *.idx diff --git a/docs/manual-fr/filedconf.tex b/docs/manual-fr/filedconf.tex index 40ae7fe7..9782129c 100644 --- a/docs/manual-fr/filedconf.tex +++ b/docs/manual-fr/filedconf.tex @@ -97,6 +97,8 @@ programme client courrant. \index[fd]{Directive!Heartbeat Interval} \index[general]{Heartbeat Interval} \index[general]{Broken pipe} + \index[general]{Lenteur} + \index[general]{Sauvegarde!lenteur} Cette directive d\'efinit un intervalle de temps. Chaque "pulsation" du Storage Daemon re\ue par le File Daemon est transmise au Director. De plus, si aucune pulsation n'est re\ue du Storage Daemon (et donc diff --git a/docs/manual-fr/images.tex b/docs/manual-fr/images.tex index a48d84c8..54665deb 100644 --- a/docs/manual-fr/images.tex +++ b/docs/manual-fr/images.tex @@ -1,7 +1,7 @@ \batchmode -\documentclass[11pt,a4paper]{report} +\documentclass[11pt,a4paper]{book} \RequirePackage{ifthen} @@ -22,7 +22,7 @@ \newindex{fd}{fdx}{fnd}{Index du File Daemon} \newindex{sd}{sdx}{snd}{Index du Storage Daemon} \newindex{console}{cdx}{cnd}{Index du Console} -\newindex{general}{idx}{ind}{Index G\'en\'erale} +\newindex{general}{idx}{ind}{Index G\'en\'eral} \sloppy @@ -158,161 +158,214 @@ % !!! IMAGES START HERE !!! {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28048}% +\lthtmlpictureA{tex2html_wrap26326}% \includegraphics{./bacula-logo.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28055}% +\lthtmlpictureA{tex2html_wrap26333}% \includegraphics{./bacula-applications.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28057}% +\lthtmlpictureA{tex2html_wrap26335}% \includegraphics{./bacula-objects.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28063}% +\lthtmlpictureA{tex2html_wrap26341}% \includegraphics{./flow.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28264}% +\lthtmlpictureA{tex2html_wrap26542}% \includegraphics{./Bacula-tray-monitor.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28399}% +\lthtmlpictureA{tex2html_wrap26681}% \includegraphics{./Conf-Diagram.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlinlinemathA{tex2html_wrap_inline6354}% +\lthtmlinlinemathA{tex2html_wrap_inline6459}% $2^{31}$% \lthtmlinlinemathZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlfigureA{center28436}% +\lthtmlfigureA{center26724}% \begin{center}\vbox{\input{autochangerres} }\end{center}% \lthtmlfigureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28900}% +\lthtmlpictureA{tex2html_wrap26781}% +\includegraphics{./bimagemgr1.eps}% +\lthtmlpictureZ +\lthtmlcheckvsize\clearpage} + +{\newpage\clearpage +\lthtmlpictureA{tex2html_wrap26782}% +\includegraphics{./bimagemgr2.eps}% +\lthtmlpictureZ +\lthtmlcheckvsize\clearpage} + +{\newpage\clearpage +\lthtmlpictureA{tex2html_wrap26783}% +\includegraphics{./bimagemgr3.eps}% +\lthtmlpictureZ +\lthtmlcheckvsize\clearpage} + +{\newpage\clearpage +\lthtmlfigureA{figure26784}% +\begin{figure}\vbox{\include{bimagemgr-chapter} +}\end{figure}% +\lthtmlfigureZ +\lthtmlcheckvsize\clearpage} + +{\newpage\clearpage +\lthtmlfigureA{figure26815}% +\begin{figure}\vbox{\include{dvd} +}\end{figure}% +\lthtmlfigureZ +\lthtmlcheckvsize\clearpage} + +{\newpage\clearpage +\lthtmlfigureA{figure27075}% +\begin{figure}\vbox{\include{python} +}\end{figure}% +\lthtmlfigureZ +\lthtmlcheckvsize\clearpage} + +{\newpage\clearpage +\lthtmlfigureA{figure27076}% +\begin{figure}\vbox{\include{ansi-labels} +}\end{figure}% +\lthtmlfigureZ +\lthtmlcheckvsize\clearpage} + +{\newpage\clearpage +\lthtmlpictureA{tex2html_wrap27195}% \includegraphics{./win32-nsis.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28901}% +\lthtmlpictureA{tex2html_wrap27196}% \includegraphics{./win32-welcome.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28902}% +\lthtmlpictureA{tex2html_wrap27197}% \includegraphics{./win32-pkg.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28903}% +\lthtmlpictureA{tex2html_wrap27198}% \includegraphics{./win32-location.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28904}% +\lthtmlpictureA{tex2html_wrap27199}% \includegraphics{./win32-service.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28905}% +\lthtmlpictureA{tex2html_wrap27200}% \includegraphics{./win32-service-ok.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28906}% +\lthtmlpictureA{tex2html_wrap27201}% \includegraphics{./win32-start.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28907}% +\lthtmlpictureA{tex2html_wrap27202}% \includegraphics{./win32-finish.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28908}% +\lthtmlpictureA{tex2html_wrap27203}% \includegraphics{./idle.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28909}% +\lthtmlpictureA{tex2html_wrap27204}% \includegraphics{./tray-icon.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28910}% +\lthtmlpictureA{tex2html_wrap27205}% \includegraphics{./menu.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28911}% +\lthtmlpictureA{tex2html_wrap27206}% \includegraphics{./running.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28912}% +\lthtmlpictureA{tex2html_wrap27207}% \includegraphics{./error.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28993}% +\lthtmlpictureA{tex2html_wrap27288}% \includegraphics{./access-is-denied.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28994}% +\lthtmlpictureA{tex2html_wrap27289}% \includegraphics{./view-only.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28995}% +\lthtmlpictureA{tex2html_wrap27290}% \includegraphics{./properties-security.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28996}% +\lthtmlpictureA{tex2html_wrap27291}% \includegraphics{./properties-security-advanced-owner.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} {\newpage\clearpage -\lthtmlpictureA{tex2html_wrap28997}% +\lthtmlpictureA{tex2html_wrap27292}% \includegraphics{./confirm.eps}% \lthtmlpictureZ \lthtmlcheckvsize\clearpage} +{\newpage\clearpage +\lthtmlfigureA{figure27456}% +\begin{figure}\vbox{\include{fdl} +}\end{figure}% +\lthtmlfigureZ +\lthtmlcheckvsize\clearpage} + \end{document} diff --git a/docs/manual-fr/install.tex b/docs/manual-fr/install.tex index 45735b51..54433df6 100644 --- a/docs/manual-fr/install.tex +++ b/docs/manual-fr/install.tex @@ -284,7 +284,7 @@ Si vous ignorez cette \'etape ({\bf make}) et poursuivez imm\'ediatement avec {\bf make install}, vous commettez deux erreurs s\'erieuses : d'abord, votre installation va \'echouer car Bacula a besoin d'un {\bf make} avant un {\bf make install} ; ensuite, vous vous privez de la possibilit\'e de vous -assurer qu'il n'y a aucune erreur avant de commencer à \'ecrire les fichiers dans +assurer qu'il n'y a aucune erreur avant de commencer \`a \'ecrire les fichiers dans vos r\'epertoires syst\`eme. \item make install diff --git a/docs/manual-fr/license.tex b/docs/manual-fr/license.tex index faaa3e50..a9bbbd9e 100644 --- a/docs/manual-fr/license.tex +++ b/docs/manual-fr/license.tex @@ -3,28 +3,35 @@ \section*{Bacula Copyright, Trademark, and Licenses} \label{_ChapterStart29} -\index[general]{Licenses!Bacula Copyright Trademark and } -\index[general]{Bacula Copyright, Trademark, and Licenses } +\index[general]{Licenses!Bacula Copyright Trademark} +\index[general]{Bacula Copyright, Trademark, and Licenses} \addcontentsline{toc}{section}{Bacula Copyright, Trademark, and Licenses} There are a number of different licenses that are used in Bacula. +\subsection*{FDL} +\index[general]{FDL } +\addcontentsline{toc}{subsection}{FDL} + +The GNU Free Documentation License (FDL) is used for this manual. + + \subsection*{GPL} \index[general]{GPL } \addcontentsline{toc}{subsection}{GPL} -The vast bulk of the code is released under a modified version of the +The vast bulk of the source code is released under a modified version of the \ilink{GNU General Public License version 2.}{_ChapterStart20} The modifications (actually additions) are described in the source file LICENSE, and their purpose is not to alter the essential qualities of the GPL but to permit more freedom in linking certain third party software supposedly non-GPL -compatible, provide termination for Patent (and IP) actions, clarify +compatible, and to clarify contributors IP and Copyright claims and non-infringment intentions. The details and governing text are in the file LICENSE in the main source directory. Most of this code is copyrighted: Copyright \copyright 2000-2004 Kern Sibbald and -John Walker or Copyright \copyright 2000-2005 Kern Sibbald. +John Walker or Copyright \copyright 2000-2006 Kern Sibbald. Portions may be copyrighted by other people (ATT, the Free Software Foundation, ...). Generally these portions are released under a diff --git a/docs/manual-fr/storedconf.tex b/docs/manual-fr/storedconf.tex index abd918a0..bf793f6c 100644 --- a/docs/manual-fr/storedconf.tex +++ b/docs/manual-fr/storedconf.tex @@ -269,103 +269,113 @@ au p\'eriph\'erique. fichier de configuration de votre Director au niveau de la \ilink{directive Device}{StorageResource2} de sa ressource Storage. -\item [Archive Device = {\it name-string}] +\item [Archive Device = {\it cha\^ine-nom}] \index[sd]{Archive Device} \index[sd]{Directive!Archive Device} - The specified {\bf name-string} gives the system file name of the storage - device managed by this storage daemon. This will usually be the device file - name of a removable storage device (tape drive), for example "{\bf - /dev/nst0}" or "{\bf /dev/rmt/0mbn}". For a DVD-writer, it will be for - example {\bf /dev/hdc}. It may also be a directory name if you are archiving - to disk storage. In this case, you must supply the full absolute path to the - directory. When specifying a tape device, it is preferable that the - "non-rewind" variant of the device file name be given. In addition, on - systems such as Sun, which have multiple tape access methods, you must be - sure to specify to use Berkeley I/O conventions with the device. The {\bf b} - in the Solaris (Sun) archive specification {\bf /dev/rmt/0mbn} is what is - needed in this case. Bacula does not support SysV tape drive behavior. + La {\bf cha\^ine-nom} (NDT : name-string dans la vo) sp\'ecifie le nom de fichier syst\`eme + du p\'eriph\'erique de stockage g\'er\'e par ce daemon. Il s'agit en g\'en\'eral d'un nom + de p\'eriph\'erique amovible, par exemple un lecteur de bande d\'esign\'e par "{\bf /dev/nst0}" + ou "{\bf /dev/rmt/0mbn}". Dans le cas d'un graveur de DVD, ce sera par exemple + {\bf /dev/hdc}. Ce peut \^etre aussi un un nom de r\'epertoire si vous sauvegardez + sur disque. Dans ce cas, vous devez soumettre le chemin absolu vers ce + r\'epertoire. Lorsque vous utilisez un lecteur de bandes, il est pr\'ef\'erable + d'utiliser la variante "non-rewind" du fichier de p\'eriph\'erique. De plus, sur les + syst\`emes tels que Sun, qui disposent de plusieurs m\'ethodes d'acc\`es aux cartouches, + prenez soin de sp\'ecifier l'usage de la convention I/O Berkeley avec les p\'eriph\'eriques. + le {\bf b} de la sp\'ecification {\bf /dev/rmt/0mbn} Solaris (Sun) est ce qui est + requis dans ce cas. Bacula ne supporte pas le comportement SysV des lecteurs de bandes. + + Comme mentionn\'e plus haut,Archive Device est, en principe, le nom d'un lecteur de bandes, + mais vous pouvez tout aussi bien sp\'ecifier le chemin absolu vers un r\'epertoire + existant. Dans ce cas, Bacula utilisera un fichier pour stocker les donn\'ees dans + le r\'epertoire sp\'ecifi\'e, le nom de fichier utilis\'e sera celui du volume tel que + sp\'ecifi\'e dans le catalogue. Si vous souhaitez \'ecrire dans plusieurs r\'epertoires + (dans le but de r\'epartir la charge sur plusieurs disques), vous devez d\'efinir deux ressources + Device, chacune comportant une Archive Device avec un r\'epertoire diff\'erent. - As noted above, normally the Archive Device is the name of a tape drive, but - you may also specify an absolute path to an existing directory. If the Device - is a directory Bacula will write to file storage in the specified directory, - and the filename used will be the Volume name as specified in the Catalog. - If you want to write into more than one directory (i.e. to spread the load to - different disk drives), you will need to define two Device resources, each - containing an Archive Device with a different directory. + Une troisi\`eme possibilit\'e consiste \`a sp\'ecifier le nom d'un FIFO. Un FIFO est un + fichier sp\'ecial qui connecte deux programmes via la m\'emoire du noyau. Si vous + sp\'ecifiez un FIFO en guise d'Archive Device, vous devez avoir un programme qui + lit ce que Bacula \'ecrit dans le FIFO. Lorsque le Storage Daemon d\'emarre le job, + il attend que le programme lecteur commence \`a lire pendant un d\'elai maximal de + de {\bf MaximumOpenWait} secondes, au del\`a duquel le job est termin\'e. Par cons\'equent, + il est pr\'ef\'erable de lancer le programme lecteur au d\'ebut du job, par exemple + grâce \`a la directive {\bf RunBeforeJob}. Pour ce type de p\'eriph\'erique, vous ne devez + jamais sp\'ecifier {\bf AlwaysOpen}, puisque vous voulez que le Storage Daemon + ne l'ouvre que lorsqu'un job d\'emarre, aussi veuillez attribuer explicitement + la valeur {\bf No} \`a cette directive. Puisqu'un FIFO est un p\'eriph\'erique \`a sens + unique, Bacula ne tente pas d'en lire le label, il se contente d'y \'ecrire. Pour + cr\'eer un volume FIFO dans le catalogue, utilisez la commande {\bf add} plut\^ot + que la commande {\bf label} afin d'\'eviter de tenter d'\'ecrire un label. - In addition to a tape device name or a directory name, Bacula will accept the - name of a FIFO. A FIFO is a special kind of file that connects two programs - via kernel memory. If a FIFO device is specified for a backup operation, you - must have a program that reads what Bacula writes into the FIFO. When the - Storage daemon starts the job, it will wait for {\bf MaximumOpenWait} seconds - for the read program to start reading, and then time it out and terminate - the job. As a consequence, it is best to start the read program at the - beginning of the job perhaps with the {\bf RunBeforeJob} directive. For this - kind of device, you never want to specify {\bf AlwaysOpen}, because you want - the Storage daemon to open it only when a job starts, so you must explicitly - set it to {\bf No}. Since a FIFO is a one way device, Bacula will not attempt - to read a label of a FIFO device, but will simply write on it. To create a - FIFO Volume in the catalog, use the {\bf add} command rather than then {\bf - label} command to avoid attempting to write a label. - - During a restore operation, if the Archive Device is a FIFO, Bacula will - attempt to read from the FIFO, so you must have an external program that - writes into the FIFO. Bacula will wait {\bf MaximumOpenWait} seconds for the - program to begin writing and will then time it out and terminate the job. As - noted above, you may use the {\bf RunBeforeJob} to start the writer program - at the beginning of the job. - - The Archive Device directive is required. + Lors d'une op\'eration de restauration, si l'Archive Device est un FIFO, Bacula + tente de lire le FIFO, aussi vous devez avoir un programme externe qui \'ecrit dans + le FIFO. Bacula attend que ce programme commence \`a \'ecrire pendant un d\'elai + maximal de {\bf MaximumOpenWait} secondes apr\`es quoi il termine le job. Comme + mentionn\'e ci-dessus, vous pouvez utiliser la directive {\bf RunBeforeJob} pour + lancer ce programme auteur d\`es le d\'ebut du job. + + La directive Archive Device est requise. -\item [Device Type = {\it type-specification}] +\item [Device Type = {\it Sp\'ecification-de-type}] \index[sd]{Device Type} \index[sd]{Directive!Device Type} - The Device Type specification allows you to explicitly tell Bacula - what kind of device you are defining. It the {\it type-specification} - may be one of the following: + La sp\'ecification Device Type de d\'eclarer explicitement \`a Bacula quel type + de p\'eriph\'erique vous d\'efinissez. La valeur de {\it Sp\'ecification-de-type} peut + \^etre l'une des suivantes : \begin{description} \item [File] - Tells Bacula that the device is a file. It may either be a - file defined on fixed medium or a removable filesystem such as - USB. All files must be random access devices. - \item [Tape] - The device is a tape device and thus is sequential access. Tape devices - are controlled using ioctl() calls. - \item [Fifo] - The device is a first-in-first out sequential access read-only - or write-only device. - \item [DVD] - The device is a DVD. DVDs are sequential access for writing, but - random access for reading. - \end{description} + Indique \`a Bacula que le p\'eriph\'erique est un fichier. Ce peut \^etre + un fichier d\'efini sur un m\'edium fixe ou au contraire amovible (par exemple, un + p\'eriph\'erique USB). Tous les fichiers doivent \^etre des p\'eriph\'eriques en acc\`es + s\'electif (NDT : traduction Google sans doute \`a revoir de "random access") + \item[tape] + Indique \`a Bacula que le p\'eriph\'erique est un lecteur de bandes, donc \`a + acc\`es s\'equentiel. Ces p\'eriph\'eriques sont control\'e par les appels + ioctl(). + \item[Fifo] + Indique \`a Bacula que le p\'eriph\'erique est un p\'eriph\'erique \`a acc\`es + s\'equentiel "first-in-first-out" (premier entr\'e, premier sorti) en + lecture seule ou en \'ecriture seule. + \item[DVD] + Indique \`a Bacula que le p\'eriph\'erique est un DVD. Les DVDs sont \`a acc\`es + s\'equentiel en \'ecriture et \`a acc\`es s\'electif (NDT : traduction Google sans + doute \`a revoir de "random access") en lecture. + \end{description} + + La directive Device Type n'est pas requise, et si elle n'est pas sp\'ecifi\'ee, + Bacula tentera de deviner cette information selon la sp\'ecification Archive + Device fournie. Il existe plusieurs avantages \`a sp\'ecifier explicitement + le type de p\'eriph\'erique. D'abord, sur certains syst\`emes, les p\'eriph\'eriques + bloc et caract\`ere ont le m\^eme type, ce qui signifie que sur ces syst\`emes, + Bacula est probablement incapable de deviner qu'un p\'eriph\'erique est un DVD. + Ensuite, si vous sp\'ecifiez explicitement le type de p\'eriph\'erique, le point de + montage n'a pas besoin d'\^etre d\'efini jusqu'\`a ce que le p\'eriph\'erique soit ouvert. + C'est le cas de la plupart des p\'eriph\'eriques amovibles tels que les USB mont\'es + par le daemon HAL. Au contraire, si le type de p\'eriph\'erique n'est pas + sp\'ecifi\'e explicitement, le point de montage doit exister d\`es le + d\'emarrage du Storage Daemon. + + Cette directive est apparue avec la version 1.38.6 de Bacula. - The Device Type directive is not required, and if not specified, Bacula - will attempt to guess what kind of device has been specified using the - Archive Device specification supplied. There are several advantages to - explicitly specifying the Device Type. First, on some systems, block and - character devices have the same type, which means that on those systems, - Bacula is unlikely to be able to correctly guess that a device is a DVD. - Secondly, if you explicitly specify the Device Type, the mount point - need not be defined until the device is opened. This is the case with - most removable devices such as USB that are mounted by the HAL daemon. - If the Device Type is not explicitly specified, then the mount point - must exist when the Storage daemon starts. - - This directive was implemented in Bacula version 1.38.6. - - \item [Media Type = {\it name-string}] \index[sd]{Media Type} \index[sd]{Directive!Media Type} - The specified {\bf name-string} names the type of media supported by this - device, for example, "DLT7000". Media type names are arbitrary in that you - set them to anything you want, but they must be known to the volume - database to keep track of which storage daemons can read which volumes. In - general, each different storage type should have a unique Media Type - associated with it. The same {\bf name-string} must appear in the - appropriate Storage resource definition in the Director's configuration - file. + La cha\^ine {\bf name-string} sp\'ecifi\'ee baptise le type de m\'edia support\'e par + ce p\'eriph\'erique, par exemple, "DLT7000". Les noms de type de m\'edia sont + arbitraires, vous pouvez utiliser le nom de votre choix, mais ils doivent + \^etre connus du catalogue pour qu'il puisse garder trace de quel daemon + peut lire quel type de m\'edia. En g\'en\'eral, chaque type de stockage devrait + avoir un type de m\'edia unique associ\'e. Le m\^eme nom {\bf name-string} doit + appara\^itre dans la d\'efinition de ressource Storage appropri\'ee du fichier + de configuration du Director. + M\^eme si les noms que vous assignez sont arbitraires, vous devriez les choisir + avec circonspection, car le Media Type est utilis\'e pour d\'eterminer le + p\'eriph\'erique de stockage \`a s\'electionner lors d'une restauration. Ainsi, vous + devriez certainement utiliser le m\^eme Media Type pour tous les lecteurs + dont les cartouches sont interchangeables. + Even though the names you assign are arbitrary (i.e. you choose the name you want), you should take care in specifying them because the Media Type is used to determine which storage device Bacula will select during -- 2.39.5