Kind
Datadownload
Group
velero.io
Version
v2alpha1
apiVersion: velero.io/v2alpha1 kind: Datadownload 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
DataDownloadSpec is the specification for a DataDownload.
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 DataDownload. It can be set when the DataDownload is in InProgress phase
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.
nodeOS string
NodeOS is OS of the node where the DataDownload is processed.
enum: auto, linux, windows
operationTimeout string required
OperationTimeout specifies the time used to wait internal operations, before returning error as timeout.
snapshotID string required
SnapshotID is the ID of the Velero backup snapshot to be restored from.
sourceNamespace string required
SourceNamespace is the original namespace where the volume is backed up from. It may be different from SourcePVC's namespace if namespace is remapped during restore.
targetVolume object required
TargetVolume is the information of the target PVC and PV.
namespace string required
Namespace is the target namespace
pv string required
PV is the name of the target PV that is created by Velero restore
pvc string required
PVC is the name of the target PVC that is created by Velero restore
status object
DataDownloadStatus is the current status of a DataDownload.
acceptedByNode string
Node 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 restore was completed. Completion time is recorded even on failed restores. The server's time is used for CompletionTimestamps
format: date-time
message string
Message is a message about the DataDownload's status.
node string
Node is name of the node where the DataDownload is processed.
phase string
Phase is the current state of the DataDownload.
enum: New, Accepted, Prepared, InProgress, Canceling, Canceled, Completed, Failed
progress object
Progress holds the total number of bytes of the snapshot and the current number of restored bytes. This can be used to display progress information about the restore operation.
bytesDone integer
format: int64
totalBytes integer
format: int64
startTimestamp string
StartTimestamp records the time a restore was started. The server's time is used for StartTimestamps
format: date-time
Copied!