Creating a restore spec without executing it #3620
-
Hello, I need to create a specific restore spec, as I need an init container with a mounted volume, which is not possible with the init.hook.restore.velero.io annotations. How can I create a restore spec without executing it now? Something like we do with the schedule spec: we specify the configuration for the backup (init containers, etc), and then we can run this schedule later on. What could be great would be to have both backup and restore hooks in schedule spec, as we already can restore from a schedule using velero restore create --from-schedule |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Here is a restore spec that you can use to craft your restore spec
I can see how it would be useful to embed restore hooks in the backup spec. This can be something that we can discuss with the community. Marking this as answered.. |
Beta Was this translation helpful? Give feedback.
Here is a restore spec that you can use to craft your restore spec