Skip to content

Commit

Permalink
index works
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Nov 27, 2018
1 parent 5ca36fd commit 2e38c4b
Show file tree
Hide file tree
Showing 45 changed files with 1,989 additions and 677 deletions.
6 changes: 3 additions & 3 deletions docs/manuals/en/new_main_reference/replace.sh
Expand Up @@ -48,19 +48,19 @@ sed -i -E 's#sec:#section-#g' *.rst
#:raw-latex:`\index[general]{Windows!File Daemon!Command Line Options}`
# ->
#:index:`triple: <Windows!File Daemon!Command Line Options>`
perl -i -pe 's#:raw-latex:`\\index\[(.*?)\]\{(.*?)!(.*?)!(.*?)\}`#:index:`triple: <\2;\3;\4>`#g' *.rst
perl -i -pe 's#^( *):raw-latex:`\\index\[(.*?)\]\{(.*?)!(.*?)!(.*?)\}`#\1.. index::\n\1 triple: \3; \4; \5;\n\1#g' *.rst


#:raw-latex:`\index[general]{Problem!Windows}`
# ->
#:index:`pair: <Problem;Windows>`
perl -i -pe 's#:raw-latex:`\\index\[(.*?)\]\{(.*?)!(.*?)\}`#:index:`pair: <\2;\3>`#g' *.rst
perl -i -pe 's#^( *):raw-latex:`\\index\[(.*?)\]\{(.*?)!(.*?)\}`#\1.. index::\n\1 pair: \3; \4\n\1#g' *.rst

# index
#:raw-latex:`\index[general]{Version numbers}`
# ->
#:index:`Version numbers`
perl -i -pe 's#:raw-latex:`\\index\[(.*?)\]\{(.*)\}`#:index:`\2`#g' *.rst
perl -i -pe 's#^( *):raw-latex:`\\index\[(.*?)\]\{(.*)\}`#\1.. index::\n\1 single: \3\n\1#g' *.rst



Expand Down
Expand Up @@ -3,15 +3,19 @@
Always Incremental Backup Scheme
================================

:index:`Always Incremental`
.. index::
single: Always Incremental


Always Incremental Backups are available since Bareos
:raw-latex:`\sinceVersion{dir}{Always Incremental}{16.2.4}`.

Conventional Backup Scheme Drawbacks
------------------------------------

:index:`Retention`
.. index::
single: Retention


To better understand the advantages of the Always Incremental Backup
scheme, we first analyze the way that the conventional Incremental -
Expand Down
104 changes: 78 additions & 26 deletions docs/manuals/en/new_main_reference/source/autochangers.rst
Expand Up @@ -3,8 +3,12 @@
Autochanger Support
===================

:index:`pair: <Support;Autochanger>`
:index:`pair: <Autochanger;Support>`
.. index::
pair: Support; Autochanger

.. index::
pair: Autochanger; Support


Bareos provides autochanger support for reading and writing tapes. In
order to work with an autochanger, Bareos requires a number of things,
Expand Down Expand Up @@ -88,9 +92,15 @@ Volume.
Knowing What SCSI Devices You Have
----------------------------------

:index:`SCSI devices`
:index:`pair: <Devices;SCSI>`
:index:`pair: <Devices;Detecting>`
.. index::
single: SCSI devices

.. index::
pair: Devices; SCSI

.. index::
pair: Devices; Detecting


Linux
~~~~~
Expand Down Expand Up @@ -206,7 +216,9 @@ On Solaris, the changer device will typically be some file under
Slots
-----

:index:`Slots`
.. index::
single: Slots


.. _`Slots`: Slots

Expand Down Expand Up @@ -242,8 +254,12 @@ You can check if the Slot number and InChanger flag by:
Multiple Devices
----------------

:index:`pair: <Devices;Multiple>`
:index:`Multiple Devices`
.. index::
pair: Devices; Multiple

.. index::
single: Multiple Devices


Some autochangers have more than one read/write device (drive). The
:ref:`Autochanger resource <AutochangerRes>` permits you to
Expand Down Expand Up @@ -273,7 +289,9 @@ This will cause the Storage daemon to maximize the use of drives.
Device Configuration Records
----------------------------

:index:`Device Configuration Records`
.. index::
single: Device Configuration Records


Configuration of autochangers within Bareos is done in the Device
resource of the Storage daemon.
Expand All @@ -293,8 +311,12 @@ Following records control how Bareos uses the autochanger:
Specifying Slots When Labeling
------------------------------

:index:`Specifying Slots When Labeling`
:index:`pair: <Label;Specifying Slots When Labeling>`
.. index::
single: Specifying Slots When Labeling

.. index::
pair: Label; Specifying Slots When Labeling



.. _`SpecifyingSlots`: SpecifyingSlots
Expand Down Expand Up @@ -352,7 +374,9 @@ tape and will not be mounted.
Changing Cartridges
-------------------

:index:`pair: <Cartridges;Changing>` If you wish to insert
.. index::
pair: Cartridges; Changing
If you wish to insert
or remove cartridges in your autochanger or you manually run the **mtx**
program, you must first tell Bareos to release the autochanger by doing:

Expand All @@ -378,7 +402,9 @@ while it has the drive mounted.
Dealing with Multiple Magazines
-------------------------------

:index:`pair: <Magazines;Dealing with Multiple>`
.. index::
pair: Magazines; Dealing with Multiple


If you have several magazines or if you insert or remove cartridges from
a magazine, you should notify Bareos of this. By doing so, Bareos will
Expand Down Expand Up @@ -497,7 +523,9 @@ several alternatives.
Update Slots Command
--------------------

:index:`triple: <Console;Command;update slots>`
.. index::
triple: Console; Command; update slots;



.. _`updateslots`: updateslots
Expand Down Expand Up @@ -563,7 +591,9 @@ the above command will not find any Volume names so will do nothing.
Using the Autochanger
---------------------

:index:`pair: <Autochanger;Using the>`
.. index::
pair: Autochanger; Using the



.. _`using`: using
Expand Down Expand Up @@ -709,8 +739,12 @@ like the following:
Barcode Support
---------------

:index:`pair: <Support;Barcode>`
:index:`Barcode Support`
.. index::
pair: Support; Barcode

.. index::
single: Barcode Support



.. _`Barcodes`: Barcodes
Expand Down Expand Up @@ -766,7 +800,9 @@ command to synchronize autochanger content with your catalog.
Bareos Autochanger Interface
----------------------------

:index:`pair: <Autochanger;Interface>`
.. index::
pair: Autochanger; Interface



.. _`autochanger-interface`: autochanger-interface
Expand Down Expand Up @@ -812,10 +848,18 @@ an error message and request the tape be manually mounted on the drive.
Tapespeed and blocksizes
------------------------

:index:`pair: <Tuning;Tape>`
:index:`pair: <Tuning;blocksize>`
:index:`pair: <Tape;speed>`
:index:`pair: <Blocksize;optimize>`
.. index::
pair: Tuning; Tape

.. index::
pair: Tuning; blocksize

.. index::
pair: Tape; speed

.. index::
pair: Blocksize; optimize



.. _`Tapespeed and blocksizes`: Tapespeed and blocksizes
Expand Down Expand Up @@ -994,10 +1038,18 @@ Here, the block was written with 1M block size but we only read 64k.
Direct access to Volumes with with non-default block sizes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:index:`pair: <bls;block size>`
:index:`pair: <bextract;block size>`
:index:`triple: <Command;bls;block size>`
:index:`triple: <Command;bextract;block size>`
.. index::
pair: bls; block size

.. index::
pair: bextract; block size

.. index::
triple: Command; bls; block size;

.. index::
triple: Command; bextract; block size;


:program:`bls` and :program:`bextract` can
directly access Bareos volumes without catalog database. This means that
Expand Down
8 changes: 6 additions & 2 deletions docs/manuals/en/new_main_reference/source/basejob.rst
@@ -1,8 +1,12 @@
File Deduplication using Base Jobs
==================================

:index:`Base Jobs`
:index:`File Deduplication`
.. index::
single: Base Jobs

.. index::
single: File Deduplication



.. _`basejobs`: basejobs A base job is sort of like a Full save
Expand Down

0 comments on commit 2e38c4b

Please sign in to comment.