Skip to content

Commit

Permalink
Added last checked date reporting to due command
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Kundert authored and Ken Kundert committed Nov 1, 2023
1 parent 0d474b9 commit b938e8e
Show file tree
Hide file tree
Showing 6 changed files with 176 additions and 106 deletions.
6 changes: 5 additions & 1 deletion doc/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ Check the integrity of the repository and its archives. The most recently
created archive is checked if one is not specified unless ``--all`` is given, in
which case all archives are checked.

The ``--repair`` option attempts to repair any damage found.
The ``--repair`` option attempts to repair any damage found. Be aware that the
--repair option is considered a dangerous operation that might result in the
complete loss of corrupt archives. It is recommended that you create a backup
copy of your repository and check your hardware for the source of the corruption
before using this option.


.. _compact:
Expand Down
12 changes: 6 additions & 6 deletions doc/configuring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ issue. A typical value is:

.. code-block:: python
notifier = 'notify-send -u normal {prog_name} "{msg}"'
notifier = 'notify-send -u critical {prog_name} "{msg}"'
Any of the following names may be embedded in braces and included in the string.
They will be replaced by their value:
Expand All @@ -938,7 +938,7 @@ They will be replaced by their value:
The notifier is only used if the command is not running from a TTY.

Use of *notifier* requires that you have a notification daemon installed (ex
Use of *notifier* requires that you have a notification daemon installed (ex:
`Dunst <https://wiki.archlinux.org/title/Dunst>`_). The notification daemon
provides the *notify-send* command. If you do not have the *notify-send*
command, do not set *notifier*.
Expand All @@ -959,16 +959,16 @@ problems that occurred while running *Emborg*.

The email is only sent if the command is not running from a TTY.

Use of *notify* requires that you have a mail daemon installed (ex `PostFix
<http://www.postfix.org>`_). The mail daemon provides the *mail* command. If
you do not have the *mail* command, do not set *notify*.
Use of *notify* requires that you have a mail daemon installed (ex: `PostFix
<http://www.postfix.org>`_ configured as a null client). The mail daemon
provides the *mail* command. If you do not have the *mail* command, do not set
*notify*.

The *notify* and *notifier* settings operate independently. You may specify
none, one, or both. Generally, one uses just one: *notifier* if you primarily
use *Emborg* interactively and *notify* if used from cron or anacron.



.. _passcommand:

passcommand
Expand Down
9 changes: 7 additions & 2 deletions doc/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ need to be adjusted to get the latest version):
.. code-block:: bash
$ cd ~/bin
$ wget https://github.com/borgbackup/borg/releases/download/1.1.17/borg-linux64
$ wget https://github.com/borgbackup/borg/releases/download/1.1.17/borg-linux64.asc
$ wget https://github.com/borgbackup/borg/releases/download/1.2.6/borg-linux64
$ wget https://github.com/borgbackup/borg/releases/download/1.2.6/borg-linux64.asc
$ gpg --recv-keys 6D5BEF9ADD2075805747B70F9F88FB52FAF7B393
$ gpg --verify borg-linux64.asc
$ rm borg-linux64.asc
Expand All @@ -49,6 +49,11 @@ Or, if you want the development version, use:
$ git clone https://github.com/KenKundert/emborg.git
$ pip install --user ./emborg
You may also need to install and configure either a notification daemon or
a mail daemon. This allows errors to be reported when you are not running
*Emborg* in a terminal. More information can be found by reading about the
:ref:`notifier` and :ref:`notify` *Emborg* settings.


Configuring Emborg to Backup A Home Directory
----------------------------------------------
Expand Down
Loading

0 comments on commit b938e8e

Please sign in to comment.