Kind
Dataupload
Group
velero.io
Version
v2alpha1
apiVersion: velero.io/v2alpha1 kind: Dataupload metadata: name: example
View raw schema
apiVersion string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata object
spec object
DataUploadSpec is the specification for a DataUpload.
backupStorageLocation string required
BackupStorageLocation is the name of the backup storage location where the backup repository is stored.
cancel boolean
Cancel indicates request to cancel the ongoing DataUpload. It can be set when the DataUpload is in InProgress phase
csiSnapshot object
If SnapshotType is CSI, CSISnapshot provides the information of the CSI snapshot.
driver string
Driver is the driver used by the VolumeSnapshotContent
snapshotClass string
SnapshotClass is the name of the snapshot class that the volume snapshot is created with
storageClass string required
StorageClass is the name of the storage class of the PVC that the volume snapshot is created from
volumeSnapshot string required
VolumeSnapshot is the name of the volume snapshot to be backed up
dataMoverConfig object
DataMoverConfig is for data-mover-specific configuration fields.
datamover string
DataMover specifies the data mover to be used by the backup. If DataMover is "" or "velero", the built-in data mover will be used.
operationTimeout string required
OperationTimeout specifies the time used to wait internal operations, before returning error as timeout.
snapshotType string required
SnapshotType is the type of the snapshot to be backed up.
sourceNamespace string required
SourceNamespace is the original namespace where the volume is backed up from. It is the same namespace for SourcePVC and CSI namespaced objects.
sourcePVC string required
SourcePVC is the name of the PVC which the snapshot is taken for.
status object
DataUploadStatus is the current status of a DataUpload.
acceptedByNode string
AcceptedByNode is name of the node where the DataUpload is prepared.
acceptedTimestamp string
AcceptedTimestamp records the time the DataUpload is to be prepared. The server's time is used for AcceptedTimestamp
format: date-time
completionTimestamp string
CompletionTimestamp records the time a backup was completed. Completion time is recorded even on failed backups. Completion time is recorded before uploading the backup object. The server's time is used for CompletionTimestamps
format: date-time
dataMoverResult object
DataMoverResult stores data-mover-specific information as a result of the DataUpload.
message string
Message is a message about the DataUpload's status.
node string
Node is name of the node where the DataUpload is processed.
nodeOS string
NodeOS is OS of the node where the DataUpload is processed.
enum: auto, linux, windows
path string
Path is the full path of the snapshot volume being backed up.
phase string
Phase is the current state of the DataUpload.
enum: New, Accepted, Prepared, InProgress, Canceling, Canceled, Completed, Failed
progress object
Progress holds the total number of bytes of the volume and the current number of backed up bytes. This can be used to display progress information about the backup operation.
bytesDone integer
format: int64
totalBytes integer
format: int64
snapshotID string
SnapshotID is the identifier for the snapshot in the backup repository.
startTimestamp string
StartTimestamp records the time a backup was started. Separate from CreationTimestamp, since that value changes on restores. The server's time is used for StartTimestamps
format: date-time
Copied!