Skip to content

Commit

Permalink
fix bcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Nov 28, 2018
1 parent 220fb03 commit 17120fa
Show file tree
Hide file tree
Showing 19 changed files with 131 additions and 132 deletions.
9 changes: 5 additions & 4 deletions docs/manuals/en/new_main_reference/replace.sh
Expand Up @@ -46,6 +46,11 @@ sed -i 's#:raw-latex:`\\vSphere\(\s*\)`#\|vsphere\|\1#g' *.rst



perl -i -pe 's#:raw-latex:`\\bcommand\{(^[}]*)\}`#:strong:`1\1`#g' *.rst
perl -i -pe 's#:raw-latex:`\\bcommand\{(.*?)\}\{\}`#:strong:`2\1`#g' *.rst
perl -i -pe 's#:raw-latex:`\\bcommand\{(.*?)\}\{(.+?)}`#:strong:`3\1 \2`#g' *.rst

perl -i -pe 's#\\bcommand\{(.*?)\}\{}#:strong:`\1`#g' *.rst

perl -i -pe 's#:raw-latex:`\\command\{(.*?)\}`#:program:`\1`#g' *.rst

Expand Down Expand Up @@ -172,10 +177,6 @@ perl -i -pe 's#\\variable\{(.*?)\}#:envvar:`\1`#g' *.rst
#\dt
perl -i -pe 's#:raw-latex:`\\dt\{([A-Za-z ]*)\}`#:strong:`\1`\ #g' *.rst

perl -i -pe 's#:raw-latex:`\\bcommand\{(.*?)\}\{(.*?)}`#:strong:`\1 \2`#g' *.rst
perl -i -pe 's#:raw-latex:`\\bcommand\{(.*?)\}\{\}`#:strong:`\1`#g' *.rst
perl -i -pe 's#:raw-latex:`\\bcommand\{(.*?)\}`#:strong:`\1`#g' *.rst


#\os
perl -i -pe 's#\\os\{(.*?)\}\{}#:strong:`\1`#g' *.rst
Expand Down
Expand Up @@ -693,7 +693,7 @@ storage:
| 1 | Full-0001 | Append | 1 | 38600329 | 0 | 31536000 | 1 | 0 | 0 | File | 2016-07-28 14:00:47 | File-remote |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+-------------+
Use :strong:`update volume` to set the right storage and
Use :strong:`3update volume` to set the right storage and
check with list volumes that it worked:


Expand Down Expand Up @@ -737,10 +737,10 @@ case to make the incremental backups possible.
- Configure the Job that should backup the remote client with the
fileset.

- Run :strong:`estimate listing` on the remote backup
- Run :strong:`3estimate listing` on the remote backup
job.

- Run :strong:`list filesets` to make sure the fileset
- Run :strong:`3list filesets` to make sure the fileset
was added to the catalog.

Then we need to create a backup on the remote machine onto a portable
Expand Down
14 changes: 7 additions & 7 deletions docs/manuals/en/new_main_reference/source/autochangers.rst
Expand Up @@ -26,8 +26,8 @@ each of which is explained in more detail after this list:
- That each Volume (tape) to be used must be defined in the Catalog and
have a Slot number assigned to it so that Bareos knows where the
Volume is in the autochanger. This is generally done with the
:strong:`label ` command, but can also done after the
tape is labeled using the :strong:`update slots`
:strong:`2label` command, but can also done after the
tape is labeled using the :strong:`3update slots`
command. See below for more details. You must pre-label the tapes
manually before using them.

Expand Down Expand Up @@ -55,8 +55,8 @@ refer to the
:ref:`Testing Autochanger <AutochangerTesting>` chapter.

Bareos also supports autochangers with barcode readers. This support
includes two Console commands: :strong:`label barcodes`
and :strong:`update slots`. For more details on these
includes two Console commands: :strong:`3label barcodes`
and :strong:`3update slots`. For more details on these
commands, see the chapter about :ref:`Barcodes`.

Current Bareos autochanger support does not include cleaning, stackers,
Expand Down Expand Up @@ -238,11 +238,11 @@ will, using the Console program, assign a slot. This information is kept
in Bareos’s catalog database along with the other data for the volume.
If no slot is given, or the slot is set to zero, Bareos will not attempt
to use the autochanger even if all the necessary configuration records
are present. When doing a :strong:`mount ` command on an
are present. When doing a :strong:`2mount` command on an
autochanger, you must specify which slot you want mounted. If the drive
is loaded with a tape from another slot, it will unload it and load the
correct tape, but normally, no tape will be loaded because an
:strong:`unmount ` command causes Bareos to unload the
:strong:`2unmount` command causes Bareos to unload the
tape in the drive.

You can check if the Slot number and InChanger flag by:
Expand Down Expand Up @@ -352,7 +352,7 @@ name).

If your autochanger has barcode labels, you can label all the Volumes in
your autochanger one after another by using the
:strong:`label barcodes` command. For each tape in the
:strong:`3label barcodes` command. For each tape in the
changer containing a barcode, Bareos will mount the tape and then label
it with the same name as the barcode. An appropriate Media record will
also be created in the catalog. Any barcode that begins with the same
Expand Down

0 comments on commit 17120fa

Please sign in to comment.