When performing a backup, it is possible to specify one or more commands to execute in a container within a pod, based on the pod being backed up.
The commands can be configured to performed before any custom action processing (Pre hooks), or after all custom actions have been completed and any additional items specified by the custom action have been backed up.
Post hooks run after the backup.
You create backup hooks to run commands in a container in a pod by editing the
Backup custom resource (CR).