Skip to content

Pre-/Post-hooks also executed for pure resource backups #3474

Discussion options

You must be logged in to vote

@henkypunky Yes, per and post hooks are executed on pods whenever a pod is being backed up.
One explanation for why we might want to do that is, the hooks don't have to be restricted to performing operations to snapshot persistent volumes. They can be used, for example, to communicate with the application that it is being backed up, and when the backup process has completed. So it would be useful to run pre and post hooks even when volume snapshots are disabled.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ashish-amarnath
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants