Skip to content

Commit

Permalink
URL
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Nov 27, 2018
1 parent 619e4c5 commit 372f998
Show file tree
Hide file tree
Showing 24 changed files with 241 additions and 217 deletions.
14 changes: 11 additions & 3 deletions docs/manuals/en/new_main_reference/replace.sh
Expand Up @@ -19,6 +19,11 @@ echo '============================'
sed -i -E 's|:raw-latex:`\\elink\{(.*)\}\{(.*)\}`|`\1 <\2>`_|g' *.rst
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



# link targets
perl -i -pe 's|:raw-latex:`\\ilink\{(.*?)\}\{(.*?)\}`|:ref:`\1 <\2>`|g' *.rst
perl -i -pe 's|:raw-latex:`\\nameref\{(.*?)\}`|:ref:`\1`|g' *.rst
Expand Down Expand Up @@ -75,8 +80,13 @@ sed -i -E 's|:raw-latex:`\\package\{(.*)\}`|**\1**|g' *.rst
sed -i -E 's# .. raw:: latex##g' *.rst


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


# sinceversion
# raw-latex:`\sinceVersion{dir}{requires!jansson}{15.2.0}`
sed -i -E 's|:raw-latex:`\\sinceVersion\{(.*)\}\{(.*)\}\{(.*)\}`|\3|g' *.rst
#sed -i -E 's#:raw-latex:`\\sinceVersion\{(.*)\}\{(.*)\}\{(.*)\}`#\n\n.. versionadded:: \3\n \1 \2\n#g' *.rst



Expand Down Expand Up @@ -148,7 +158,6 @@ sed -i -E 's# .. raw:: latex##g' *.rst
#sed -i -E 's#:raw-latex:`\\dt([A-Za-z ]*)`#\1#g' *.rst
#
#
#sed -i -E 's|:raw-latex:`\\sinceVersion\{(.*)\}\{(.*)\}\{(.*)\}`|\3|g' *.rst
#
#
#sed -i -E 's|:raw-latex:`\\job\{(.*)\}`|**\1**|g' *.rst
Expand Down Expand Up @@ -179,7 +188,6 @@ sed -i -E 's# .. raw:: latex##g' *.rst
## Warnings
##
#
#sed -i -E 's|:raw-latex:`\\warning\{(.*)\}`|\n.. warning:: \n \1|g' *.rst
#
#sed -i -E 's|:raw-latex:`\\linkResourceDirective\{(.*)\}\{(.*)\}\{(.*)\}`|**\3** (\1 configuration, \2 resource)|g' *.rst
#sed -i -E 's|:raw-latex:`\\linkResourceDirectiveValue\{(.*)\}\{(.*)\}\{(.*)\}\{(.*)\}`|**\3 = \4** (\1 configuration, \2 resource)|g' *.rst
Expand Down
Expand Up @@ -8,7 +8,7 @@ Always Incremental Backup Scheme


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

Conventional Backup Scheme Drawbacks
------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions docs/manuals/en/new_main_reference/source/autochangers.rst
Expand Up @@ -158,7 +158,7 @@ FreeBSD
~~~~~~~

Under FreeBSD, use the following command to list the SCSI devices as
well as the ``/dev/passN`` that you will use on the Bareos
well as the ``path:/dev/passN`` that you will use on the Bareos
:raw-latex:`\linkResourceDirective{Sd}{Autochanger}{Changer Device}`
directive:

Expand Down Expand Up @@ -929,7 +929,7 @@ label, this security mechanism does not work and you might label tapes
already labeled accidentally.

To solve this problem, the block size handling was changed in Bareos
:raw-latex:`\sinceVersion{sd}{Maximum Block Size}{14.2.0}` in the
14.2.0 in the
following way:

- The tape label block is always written in the standard 63k (64512)
Expand Down
12 changes: 6 additions & 6 deletions docs/manuals/en/new_main_reference/source/bconsole.rst
Expand Up @@ -706,7 +706,7 @@ configure
\warning{Don't be confused by the extensive output of \bcommand{help}{configure}. As \bcommand{configure}{add} allows configuring arbitrary resources, the output of \bcommand{help}{configure} lists all the resources, each with all valid directives. The same data is also used for \command{bconsole} command line completion.}

Available since Bareos
:raw-latex:`\sinceVersion{console}{configure add}{16.2.4}`.
16.2.4.

configure export

Expand Down Expand Up @@ -738,7 +738,7 @@ configure
restart the |bareosFd|.

Available since Bareos
:raw-latex:`\sinceVersion{console}{configure export}{16.2.4}`.
16.2.4.

delete
.. index::
Expand Down Expand Up @@ -1664,7 +1664,7 @@ setbandwidth
.. index::
triple: Console; Command; setbandwidth;
This
command (:raw-latex:`\sinceVersion{console}{setbandwidth}{12.4.1}`)
command (12.4.1)
is used to limit the bandwidth of a running job or a client.

::
Expand Down Expand Up @@ -1912,7 +1912,7 @@ status
waiting for media – that is Bareos needs you to label a Volume.

The command :raw-latex:`\bcommand{status scheduler}{}`
(:raw-latex:`\sinceVersion{console}{status scheduler}{12.4.4}`) can
(12.4.4) can
be used to check when a certain schedule will trigger. This gives
more information than :raw-latex:`\bcommand{status director}{}`.

Expand Down Expand Up @@ -1987,7 +1987,7 @@ status

In case you are running a maintained version of Bareos, the command
:raw-latex:`\bcommand{status}{subscriptions}`
(:raw-latex:`\sinceVersion{console}{status subscriptions}{12.4.4}`)
(12.4.4)
can help you to keep the overview over the subscriptions that are
used.

Expand Down Expand Up @@ -2088,7 +2088,7 @@ truncate
from all remaining jobs.

This command is available since Bareos
:raw-latex:`\sinceVersion{dir}{truncate command}{16.2.5}`.
16.2.5.

umount
.. index::
Expand Down
12 changes: 6 additions & 6 deletions docs/manuals/en/new_main_reference/source/catmaintenance.rst
Expand Up @@ -46,7 +46,7 @@ dbconfig-common (Debian)
.. _`section-dbconfig`: section-dbconfig

Since Bareos
:raw-latex:`\sinceVersion{dir}{dbconfig-common (Debian)}{14.2.0}` the
14.2.0 the
Debian (and Ubuntu) based packages support the
**dbconfig-common** mechanism to create and update
the Bareos database, according to the user choices.
Expand Down Expand Up @@ -305,7 +305,7 @@ the database owner will be identical with the Bareos database user.

By default, using PostgreSQL ident, a Unix user can access a database of
the same name. Therefore the user :raw-latex:`\user{bareos}` can access
the database ``bareos``.
the database ``path:bareos``.

::

Expand Down Expand Up @@ -507,7 +507,7 @@ password and add it into the Bareos Director configuration file
After this, run the Bareos database preparation scripts. For Bareos
:math:`<=` 13.2.2, the database password must be specified as
environment variable :raw-latex:`\variable{db_password}`. From
:raw-latex:`\sinceVersion{dir}{MySQL password from configuration file}{13.2.3}`
13.2.3
the database password is read from the configuration, if no environment
variable is given.

Expand Down Expand Up @@ -1048,11 +1048,11 @@ the database storage, commands such as VACUUM, VACUUM FULL, REINDEX, and
CLUSTER exist specifically to keep you from having to do a dump/restore.

More details on this subject can be found in the PostgreSQL
documentation. The page ``http://www.postgresql.org/docs/`` contains
documentation. The page `http://www.postgresql.org/docs/ <http://www.postgresql.org/docs/>`_ contains
links to the documentation for all PostgreSQL versions. The section
*Routine Vacuuming* explains how VACUUM works and why it is required,
see
``http://www.postgresql.org/docs/current/static/routine-vacuuming.html``
`http://www.postgresql.org/docs/current/static/routine-vacuuming.html <http://www.postgresql.org/docs/current/static/routine-vacuuming.html>`_
for the current PostgreSQL version.

.. _PostgresSize:
Expand Down Expand Up @@ -1089,7 +1089,7 @@ override the autovacuum parameters on a table-by-table basis, it can
then still be triggered at any time.

To learn more details about autovacuum see
``http://www.postgresql.org/docs/current/static/routine-vacuuming.html#AUTOVACUUM``
`http://www.postgresql.org/docs/current/static/routine-vacuuming.html#AUTOVACUUM <http://www.postgresql.org/docs/current/static/routine-vacuuming.html#AUTOVACUUM>`_

The following example shows how to configure running VACUUM on the file
table by using an admin-job in Bareos. The job will be scheduled to run
Expand Down
Expand Up @@ -20,7 +20,7 @@ that:
|bareosFd| over the network.

To circumvent these problems, since Bareos
:raw-latex:`\sinceVersion{Dir}{Client Initiated Connection}{16.2.2}` it
16.2.2 it
is possible to let the |bareosFd| initiate the network
connection to the |bareosDir|.

Expand Down

0 comments on commit 372f998

Please sign in to comment.