Merge pull request #10526 from Daniel-1600/fix/schedule-create-backup-type

Fix schedule create dropping backup type
This commit is contained in:
lyndon-li
2026-09-15 14:33:50 +08:00
committed by GitHub
2 changed files with 2 additions and 0 deletions
+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,