Skip to content

Commit

Permalink
Merge branch 'master' into stashed/cli@a5706148
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Oct 4, 2023
2 parents eccdce0 + cb18509 commit d3e4810
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/concepts/crds/backupconfiguration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ Stash does not support providing days (`d`) in the `timeOut` field. Use the equi
- `Always`: The hook will be executed after the backup process no matter the backup has failed or succeeded. This is the default behavior.
- `OnSuccess`: The hook will be executed after the backup process only if the backup has succeeded.
- `OnFailure`: The hook will be executed after the backup process only if the backup has failed.

- `OnFinalRetryFailure`: The hook will be executed after the backup process only if the backup has failed with no more retry attempts left.
For more details on how hooks work in Stash and how to configure different types of hook, please visit [here](/docs/guides/hooks/overview/index.md).

#### spec.runtimeSettings
Expand Down
1 change: 1 addition & 0 deletions docs/guides/hooks/overview/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ If the backup or restore process fails then the respective `postBackup` or `post
- `Always`: The hook will be executed after the backup/restore process no matter the backup/restore has failed or succeeded. This is the default behavior.
- `OnSuccess`: The hook will be executed after the backup/restore process only if the backup/restore has succeeded.
- `OnFailure`: The hook will be executed after the backup/restore process only if the backup/restore has failed.
- `OnFinalRetryFailure`: The hook will be executed after the backup process only if the backup has failed with no more retry attempts left.

If the `postBackup` or `postRestore` hook fails, the respective BackupSession or RestoreSession will be marked as `Failed`.

Expand Down

0 comments on commit d3e4810

Please sign in to comment.