Skip to content

Commit

Permalink
tweak the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Kundert authored and Ken Kundert committed Apr 15, 2023
1 parent e027ccc commit e2d7629
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 11 deletions.
26 changes: 17 additions & 9 deletions doc/configuring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,23 @@ is not colored. In general it is best to use the "light" colorscheme on dark
backgrounds and the "dark" colorscheme on light backgrounds.


.. _compact_after_delete:

compact_after_delete
~~~~~~~~~~~~~~~~~~~~

If True, the :ref:`compact command <compact>` is run after deleting an archive
or pruning a repository.

.. note::

This is an important setting if you are using *Borg 1.2* or later. You
should either set this true or manage the compaction in another way.
Setting it true results in slightly slower backups. The alternative is
generally to configure *cron* or *anacron* to run the *compact* command
routinely for you.


.. _configurations:

configurations
Expand Down Expand Up @@ -1206,15 +1223,6 @@ More information is available from `chunker_params Borg documentation
<https://borgbackup.readthedocs.io/en/stable/usage/notes.html#chunker-params>`_.


.. _compact_after_delete:

compact_after_delete
~~~~~~~~~~~~~~~~~~~~

If True, the :ref:`compact command <compact>` is run after deleting an archive
or pruning a repository.


.. _compression:

compression
Expand Down
8 changes: 6 additions & 2 deletions doc/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ The second file is the configuration file for *backups*:
check_after_create = 'latest'
prune_after_create = True
compact_after_delete = True
keep_daily = 7
keep_weekly = 4
keep_monthly = 12
Expand Down Expand Up @@ -202,6 +203,7 @@ The third file is the configuration file for *snapshots*:
**/.*.swp
'''
prune_after_create = True
compact_after_delete = True
keep_within = '1d'
In this case the repository is on the local machine and it is not encrypted. It
Expand Down Expand Up @@ -240,8 +242,9 @@ using:
$ emborg due
However, you must remember to run this command. *Emborg* also provides
*emborg-overdue* to provide automated reminders. You configure *emborg-overdue*
using a configuration file: ~/.config/emborg/overdue.conf. For example:
:ref:`emborg-overdue <emborg_overdue>` to provide automated reminders. You
configure *emborg-overdue* using a configuration file:
~/.config/emborg/overdue.conf. For example:

.. code-block:: python
Expand Down Expand Up @@ -324,6 +327,7 @@ This assumes that most of the settings will be placed in *root*:
'''
check_after_create = 'latest'
compact_after_delete = True
prune_after_create = True
keep_daily = 7
keep_weekly = 4
Expand Down
2 changes: 2 additions & 0 deletions doc/monitoring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Monitoring
==========


.. _emborg_overdue:

Overdue
-------

Expand Down

0 comments on commit e2d7629

Please sign in to comment.