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
Dan Helfman
a60d7fd173
Run "borgmatic borg" action without capturing output so interactive prompts and flags like "--progress" still work.
2023-04-30 15:43:41 -07:00
Dan Helfman
b343363bb8
Change the default action order to: "create", "prune", "compact", "check" ( #304 ).
2023-03-08 14:05:06 -08:00
Dan Helfman
462326406e
Drop only-style actions like "--create", rename "prune --files" to "prune --list", and add "--list" alias to "create" and "export-tar" ( #571 ).
2022-08-21 14:25:16 -07:00
Dan Helfman
00255a2437
Various documentation edits for Borg 2 ( #557 ).
2022-08-18 10:19:11 -07:00
Dan Helfman
cc04bf57df
Update list action for Borg 2 support, add rinfo action, and update extract consistency check for Borg 2.
2022-08-15 15:04:40 -07:00
Dan Helfman
dfc4db1860
Document environment variable interpolation ( #546 ).
2022-06-16 15:30:53 -07:00
Dan Helfman
dc4e7093e5
Remove link to related software that hasn't seen updates in the past couple years.
2022-06-09 19:31:50 -07:00
Dan Helfman
0e90a80680
Add links in documentation for ntfy monitoring hook ( #543 ).
2022-06-09 13:41:22 -07:00
Gavin Chappell
a8b8d507b6
add a hook for sending push notifications via ntfy.sh
2022-06-09 21:10:38 +01:00
Dan Helfman
80ec3e7d97
Deprecate "borgmatic list --successful" flag, as listing only non-checkpoint (successful) archives is now the default in newer versions of Borg.
2022-06-02 20:35:39 -07:00
Dan Helfman
54933ebef5
Change connection failures for monitoring hooks to be warnings instead of errors ( #439 ).
2022-05-24 15:50:04 -07:00
Dan Helfman
02781662f8
Change monitoring hooks to specify the ping URL / integration key as a named option.
2022-05-23 20:02:10 -07:00
Dan Helfman
1921f55a9d
Add emojis to documentation table of contents to make it easier to find particular how-to and reference guides at a glance.
2022-05-20 11:11:35 -07:00
Dan Helfman
db7499db82
Document "repositories" context to for "before_*" and "after_*" command action hooks ( #469 ).
2022-03-14 13:34:14 -07:00
Dan Helfman
b525e70e1c
Run "compact" action by default when no actions are specified ( #394 ).
2022-02-09 14:33:12 -08:00
Dan Helfman
79d4888e22
Add documentation navigation links on left side of all documentation pages.
2020-08-21 14:27:47 -07:00
Dan Helfman
f611fe7be3
Clarify documentation overview of monitoring options.
2020-08-12 10:40:39 -07:00
Dan Helfman
37cc229749
Fix duplicate logging to Healthchecks and send "after_*" hooks output to Healthchecks ( #328 ).
2020-06-23 11:01:03 -07:00
Dan Helfman
398665be9e
Allow before_backup and similiar hooks to exit with a soft failure without altering the monitoring status ( #292 ).
2020-06-02 14:33:41 -07:00
Dan Helfman
6db232d4ac
Link to Borgmacator GNOME AppIndicator from monitoring documentation.
2020-06-02 12:53:08 -07:00
Dan Helfman
31a5d1b9c4
Docs feedback: Clarify PagerDuty integration instructions.
2020-03-26 14:14:53 -07:00
Dan Helfman
4942b7ce4d
Feedback on PagerDuty hook documentation.
2020-02-13 13:11:25 -08:00
Dan Helfman
46486138b6
Fix PagerDuty link.
2020-02-01 13:43:37 -08:00
Dan Helfman
79f3b84ca2
Documentation for "--archive latest" ( #289 ).
2020-01-29 17:08:03 -08:00
Dan Helfman
bc02c123e6
Monitor backups with PagerDuty hook integration ( #245 ).
2020-01-27 15:32:09 -08:00
Dan Helfman
f66fd1caaa
Customize Healthchecks log level via borgmatic "--monitoring-verbosity" flag ( #277 ).
2020-01-22 15:10:47 -08:00
Dan Helfman
911668f0c8
Only trigger "on_error" hooks and monitoring failures for "prune", "create", and "check" actions, and not for other actions ( #270 ).
2019-12-20 13:58:02 -08:00
Dan Helfman
e009bfeaa2
Update Healthchecks/Cronitor/Cronhub monitoring integrations to fire for "check" and "prune" actions, not just "create" ( #249 ).
2019-12-12 22:54:45 -08:00
Dan Helfman
78ff734e6c
Add note about error logs only flowing to Healthchecks for the "create" action.
2019-11-17 19:10:11 -08:00
Dan Helfman
2cc743cf47
With "borgmatic check", consider Borg warnings as errors ( #247 ).
2019-11-17 19:06:28 -08:00
Dan Helfman
50f62d73b7
When using the Healthchecks monitoring hook, include borgmatic logs in the payloads for completion and failure pings ( #241 ).
2019-11-17 16:54:27 -08:00
Dan Helfman
17fda7281a
Monitor backups with Cronhub hook integration. Fix Healthchecks/Cronitor hooks to respect dry run.
2019-11-07 10:08:44 -08:00
Dan Helfman
31d3bc9bd8
In documentation, clarify when Healthchecks/Cronitor hooks fire in relation to other hooks ( #238 ).
2019-11-06 09:44:46 -08:00
Dan Helfman
8fd46b8c70
Monitor backups with Cronitor hook integration.
2019-11-01 11:33:15 -07:00
Dan Helfman
bd3c51fc5a
Documentation for database restores ( #229 ).
2019-10-31 21:45:47 -07:00
Dan Helfman
5e3c2da79c
Database dump hooks documentation ( #225 ).
2019-10-23 15:35:37 -07:00
Dan Helfman
c12c47cace
Fix "borgmatic list --successful" with a slightly better heuristic for listing successful (non-checkpoint) archives.
2019-10-16 10:24:58 -07:00
Dan Helfman
d6aaab8a09
Remove parentheses from docs sentence.
2019-10-15 13:02:54 -07:00
Dan Helfman
128ebf04ce
Dead man's switch via healthchecks.io integration ( #223 ) + new monitoring documentation.
2019-10-15 10:49:14 -07:00