Skip to content

Commit

Permalink
path
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Nov 28, 2018
1 parent 13b1297 commit 379e90c
Show file tree
Hide file tree
Showing 21 changed files with 183 additions and 178 deletions.
7 changes: 6 additions & 1 deletion docs/manuals/en/new_main_reference/replace.sh
Expand Up @@ -22,6 +22,8 @@ sed -i -E 's#:raw-latex:`\\label\{(.*)\}`#\n\n.. _`\1`: \1#g' *.rst
#``URL:http://download.bareos.org/bareos/release/latest/``
sed -i -E 's#``URL:(.*)``#`\1 <\1>`_#g' *.rst

sed -i -E 's#``path:(.*)``#:file:`\1`#g' *.rst


# link targets
perl -i -pe 's#:raw-latex:`\\ilink\{(.*?)\}\{(.*?)\}`#:ref:`\1 <\2>`#g' *.rst
Expand Down Expand Up @@ -146,6 +148,7 @@ perl -i -pe 's#:raw-latex:`\\argument\{(.*?)\}`#:strong:`\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


Expand Down Expand Up @@ -174,6 +177,9 @@ sed -i 's#:raw-latex:`\\configDirectoryTrayMonitorUnix`#:file:`/etc/bareos/tray-
sed -i 's#:raw-latex:`\\logfileUnix`#:file:`/var/log/bareos/bareos.log`#g' *.rst
sed -i 's#:raw-latex:`\\yeno`#yes\\|no#g' *.rst

sed -i -E 's|:raw-latex:`\\fileset\{(.*)\}`|**\1**|g' *.rst



#
# DROP SOME STUFF WHICH IS NO LONGER NEEDED
Expand Down Expand Up @@ -227,7 +233,6 @@ sed -i 's#:raw-latex:`\\yeno`#yes\\|no#g' *.rst
#
#
#sed -i -E 's|:raw-latex:`\\job\{(.*)\}`|**\1**|g' *.rst
#sed -i -E 's|:raw-latex:`\\fileset\{(.*)\}`|**\1**|g' *.rst
#
#
#sed -i -E 's|:raw-latex:`\\host\{(.*)\}`|**\1**|g' *.rst
Expand Down
Expand Up @@ -691,7 +691,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:`update volume` to set the right storage and
check with list volumes that it worked:


Expand Down Expand Up @@ -735,10 +735,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:`estimate listing` on the remote backup
job.

- Run :strong:`list}{filesets` to make sure the fileset
- Run :strong:`list 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
16 changes: 8 additions & 8 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:`label ` command, but can also done after the
tape is labeled using the :strong:`update 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:`label barcodes`
and :strong:`update 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 @@ -158,7 +158,7 @@ FreeBSD
~~~~~~~

Under FreeBSD, use the following command to list the SCSI devices as
well as the ``path:/dev/passN`` that you will use on the Bareos
well as the :file:`/dev/passN` that you will use on the Bareos
**Changer Device**:sup:`Sd`:sub:`Autochanger`
directive:

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:`mount ` 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:`unmount ` 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:`label 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 379e90c

Please sign in to comment.