mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-12-15 18:15:37 +00:00
docs: fix typo in command hook cookbook (#351)
This commit is contained in:
@@ -6,7 +6,7 @@ Command hooks are a powerful way to extend Backrest's capabilities. They allow y
|
|||||||
|
|
||||||
## Command Hook Options
|
## 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_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.
|
- `ON_ERROR_FATAL` - If the script exits with a non-zero status, it is treated as a backup failure and error notifications are triggered.
|
||||||
|
|||||||
Reference in New Issue
Block a user