From 2effddb3080c04a3b5e4f1d8d8d45739ac9cf889 Mon Sep 17 00:00:00 2001 From: Ted Robertson <10043369+tredondo@users.noreply.github.com> Date: Sun, 28 Sep 2025 08:03:42 +0200 Subject: [PATCH] docs: fix link & fix typo in 2.hooks.md (#917) --- docs/content/2.docs/2.hooks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/2.docs/2.hooks.md b/docs/content/2.docs/2.hooks.md index fc370c4..58e0a85 100644 --- a/docs/content/2.docs/2.hooks.md +++ b/docs/content/2.docs/2.hooks.md @@ -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