How can velero backup trigger CloudNativePG backup? #7746
Replies: 3 comments
-
You might be able to do this by executing the CloudNativePG backup in a backup hook for the postgres pod: |
Beta Was this translation helpful? Give feedback.
-
Hi @retrogaming457 , did you figure something out in the end? I understand I could simply trigger the Is it really as simple as triggering a |
Beta Was this translation helpful? Give feedback.
-
Sometimes we need to backup an application as well as it's backend database at the same time. For example, for a application using postgres as its backend, I want to backup application's namespace using velero and postgres database using backup facilities of postgres itself (e.g. CloudNativePG operator) - not velero.
I understand that both Velero and CloudNativePG have cronjob and we can set them both for the same time to occur. But this is somehow repeating approach which we normally want to avoid. So my question is:
How can we trigger CloundNativePG backup when velero starts backing up state of the application?
Beta Was this translation helpful? Give feedback.
All reactions