Equivalent of backup CLI from schedule to YAML format #8345
Replies: 3 comments 17 replies
-
|
Beta Was this translation helpful? Give feedback.
-
I'm not sure how this would work. The It sounds like you want to create a backup CR directly from yaml (via In other words, if you want to create the backup CR manually, then just create yaml yourself and pass to |
Beta Was this translation helpful? Give feedback.
-
@s4ndalHat This isn't really analogous to the "from-backup" flag on restore -- that's an explicit field in the restore.spec which always references an external object. "from-schedule" is different -- it functions by telling the CLI to copy all of the spec template values from the schedule into the backup spec directly. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Is there any valid value to create backup from schedule like the equivalent of
velero backup create --from-schedule
in a YAML format ?I didn't find anything in the API types reference in the documentation.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions