How can velero backup trigger CloudNativePG backup? #7746
Unanswered
retrogaming457
asked this question in
Community support Q&A
Replies: 1 comment
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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