How to backup volumes from helm hook #6967
Replies: 2 comments
-
Yes, you can trigger a Velero backup using a Helm hook. Helm hooks allow you to execute commands at certain points during the Helm lifecycle, such as before or after a release is installed, upgraded, or deleted. In your case, you want to create a new backup on a pre-upgrade hook. Here's an example of how you might achieve this: Update your Helm chart: Modify your Helm chart: ... The weight attribute determines the order of execution among hooks. You can adjust it as needed. Deploy or upgrade your Helm release: Remember to adapt the example to your specific requirements, such as adjusting the image names, labels, and environment variables according to your Helm chart structure and Velero configuration. |
Beta Was this translation helpful? Give feedback.
-
"Is there a gaming equivalent to running a 'Velero backup from a Helm hook'? I'm interested in initiating a game state capture or save point during a 'pre-upgrade' phase. Similar to how Velero ensures data integrity, in gaming, having a seamless process for capturing and restoring game progress could be a game-changer, especially for complex multiplayer scenarios or game world modifications. Any insights or suggestions for implementing such a mechanism in the android game context would be appreciated!" |
Beta Was this translation helpful? Give feedback.
-
Hello !
Is there a way to run a Velero backup from a helm hook ? I would like to create a new backup on a pre-upgrade hook. I am using Velero with GCP and scheduled backups and restores are working fine.
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions