Skip to content

Commit

Permalink
docs: fix typo in command hook cookbook (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
networkydev authored Jun 24, 2024
1 parent e2ef66e commit 6f9816e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/3.cookbooks/1.command-hook-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Command hooks are a powerful way to extend Backrest's capabilities. They allow y

## Command Hook Options

When run on `CONDITION_SNAPSHOT_START` command hooks have the ability to send contorl signals to Backrest based on the exit status of the script. The handling of the exit status is configured by the `Error Behavior` field. The following options are available:
When run on `CONDITION_SNAPSHOT_START` command hooks have the ability to send control signals to Backrest based on the exit status of the script. The handling of the exit status is configured by the `Error Behavior` field. The following options are available:

- `ON_ERROR_CANCEL` - If the script exits with a non-zero status, the backup operation will be canceled.
- `ON_ERROR_FATAL` - If the script exits with a non-zero status, it is treated as a backup failure and error notifications are triggered.
Expand Down

0 comments on commit 6f9816e

Please sign in to comment.