mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-10-30 12:17:03 +00:00
docs: fix link & fix typo in 2.hooks.md (#917)
This commit is contained in:
@@ -7,7 +7,7 @@ Hooks in Backrest allow you to respond to various operation lifecycle events, en
|
||||
Hooks can be triggered by the following events:
|
||||
|
||||
### Snapshot Events
|
||||
- `CONDITION_SNAPSHOT_START`: Triggered when a backup operation begins and will complete before the snapshot starts. The [Error Handling](#error-handling) configuration can be used to stop the backup if the command isnt successful.
|
||||
- `CONDITION_SNAPSHOT_START`: Triggered when a backup operation begins and will complete before the snapshot starts. The [Error Handling](#error-handling) configuration can be used to stop the backup if the command isn't successful.
|
||||
- `CONDITION_SNAPSHOT_END`: Triggered when a backup operation completes (regardless of success/failure)
|
||||
- `CONDITION_SNAPSHOT_SUCCESS`: Triggered when a backup operation completes successfully
|
||||
- `CONDITION_SNAPSHOT_ERROR`: Triggered when a backup operation fails
|
||||
@@ -41,7 +41,7 @@ Backrest supports multiple notification services for hook delivery:
|
||||
| Slack | Send notifications to Slack channels | [Slack Webhooks Guide](https://api.slack.com/messaging/webhooks) |
|
||||
| Gotify | Send notifications via Gotify server | [Gotify Documentation](https://github.com/gotify/server) |
|
||||
| Shoutrrr | Multi-provider notification service | [Shoutrrr Documentation](https://containrrr.dev/shoutrrr/v0.8/) |
|
||||
| Command | Execute custom commands | See command cookbook |
|
||||
| Command | Execute custom commands | See [command cookbook](../../cookbooks/command-hook-examples) |
|
||||
|
||||
## Error Handling
|
||||
|
||||
|
||||
Reference in New Issue
Block a user