borgmatic/borgmatic
C-Duv f17fde399e Add "actions" runtime variable (#657)
This commit adds the "actions" variable to the list of variables
borgmatic can interpolate at runtime.

This variable will contains the list (as a string of comma-separated
elements) of all the actions borgmatic will run in this instance.

This will allow running "intelligent" before_actions and after_actions
hooks capable of behavior dependent of the actual action borgmatic will
perform/has performed.

Original need for this variable was to automatically mount and unmount
an NFS remote folder.

Issue: #657
2023-05-14 19:12:38 +02:00
..
actions Add support for logging each log line as a JSON object via global "--log-json" flag (#680). 2023-05-08 23:00:49 -07:00
borg Add support for logging each log line as a JSON object via global "--log-json" flag (#680). 2023-05-08 23:00:49 -07:00
commands Add "actions" runtime variable (#657) 2023-05-14 19:12:38 +02:00
config Clarify configuration comment about source_directories also accepting files (#693). 2023-05-09 10:14:03 -07:00
hooks Another try. Backing out psql error changes (#678). 2023-04-21 10:34:50 -07:00
__init__.py Dropping support for Attic. 2016-06-10 11:21:53 -07:00
execute.py Upgrade test requirements and code style requirements. Auto-reformat code accordingly. 2023-04-14 19:35:24 -07:00
logger.py Add "--log-file-format" flag for customizing the log message format (#658). 2023-04-02 23:06:36 -07:00
signals.py Fix handling of TERM signal to exit borgmatic, not just forward the signal to Borg (#516). 2022-04-03 13:12:48 -07:00
verbosity.py Fix logs that interfere with JSON output by making warnings go to stderr instead of stdout (#602). 2022-12-02 12:12:10 -08:00