Get Information about the current running job inside the pre.hook Command #3497
Unanswered
Sevenlive
asked this question in
Community support Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
We are currently looking for a backup solution for our Kubernetes Cluster but our use-case is a little special. We want to backup an Cloud SQL (or other managed SQL Instance) and resources inside our Kubernetes Cluster at the same time.
Therefor we would use the pre.hook Command with a Custom-Container that triggers a Snapshot using the API. But i'm not sure yet, how to reference the backup-id of the Snapchat to the Velero-Backup.
My idea was to send a kubectl command that annotate the backup-id onto the current backup. But therefor i need to get the running backup inside my container. Any idea how or other ways to do the same thing?
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions