Fix schedule create dropping backup type

Signed-off-by: Daniel Mungai <chegedan699@gmail.com>
This commit is contained in:
Daniel Mungai
2026-09-11 14:25:45 +03:00
parent 7e67f03796
commit 7d31c708e8
+1
View File
@@ -163,6 +163,7 @@ func (o *CreateOptions) Run(c *cobra.Command, f client.Factory) error {
ItemOperationTimeout: metav1.Duration{Duration: o.BackupOptions.ItemOperationTimeout},
DataMover: o.BackupOptions.DataMover,
SnapshotMoveData: o.BackupOptions.SnapshotMoveData.Value,
BackupType: api.BackupType(o.BackupOptions.BackupType),
},
Schedule: o.Schedule,
UseOwnerReferencesInBackup: &o.UseOwnerReferencesInBackup,