Skip to main content
Version: 3.6

ApplicationBackup CRD reference

ApplicationBackup represents applicationbackup object.

ApplicationBackup

FieldDescriptionType
apiVersionAPIVersion 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
string
kindKind 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
string
specApplicationBackupSpec is the spec used to backup applicationsobject
statusApplicationBackupStatus is the status of an application backup operationobject

spec fields

FieldDescriptionType
spec.advancedResourceLabelSelectorAdvancedResourceLabelSelector define label-based filters to determine which resources should be included in the backup.
Make this as string type, so that we can support all combination of label selectors.
string
spec.backupLocationBackupLocation is the name of the backup storage location where the backup will be stored.string
spec.backupObjectTypeBackupObjectType set to All for Namespace backup, VirtualMachine for VM specific Backupstring
spec.backupTypeBackupType specifies the type of backup to be performedstring
spec.csiSnapshotClassMapCSISnapshotClassMap is 1 to 1 Map of CSI Provisioner to its Corresponding VolumeSnapshotClass to be used for backupobject
spec.directKDMPDirectKDMP indicates whether backups should use direct KDMP (Kubernetes Data Mover Plugin) for data movement.boolean
spec.excludeResourceTypesExcludeResourceTypes lists resource types that should be explicitly excluded from the backup.array
spec.includeResourcesIncludeResources specifies the list of individual resources to be explicitly included in the backup.array
spec.keepCrStatusKeepCrStatus is false by default, if set true will keep the CR status of the resources in the backup.boolean
spec.missingNamespacesMissingNamespaces stores the list of namespaces that are not found in the cluster during the start of the backup cyclearray
spec.namespaceSelectorNamespaceSelector specifies a label selector to filter namespaces for the backup.string
spec.namespacesNamespaces specifies the list of Kubernetes namespaces to be backed up.array
spec.optionsOptions to be passed in to the driverobject
spec.platformCredentialPlatformCredential specifies the credential to be used for authenticating with the underlying platform.string
spec.postExecRulePostExecRule is the name of a rule to be executed after the backup completes.string
spec.preExecRulePreExecRule is the name of a rule to be executed before the backup starts.string
spec.rancherProjectsRancherProjects maps Kubernetes namespaces to their corresponding Rancher projects.object
spec.reclaimPolicyReclaimPolicy determines the behavior of backup objects upon deletion.
Possible values include:
- Retain: Keeps the backup data even after the backup object is deleted.
- Delete: Deletes the backup data when the backup object is deleted.
string
spec.resourceTypesResourceTypes defines the types of resources to be backed up (e.g., Pods, Services, PVCs).array
spec.selectorsSelectors define label-based filters to determine which resources should be included in the backup.object
spec.skipAutoExecRulesSkipAutoExecRules is false by default, if set true will skip auto exec rules for VM specific backup.
This field is unused for non VM specific Backup.
boolean
spec.skipServiceUpdateSkipServiceUpdate specifies whether service updates should be skipped during the backup process.boolean
spec.volumeResourceOnlyPolicyVolumeResourceOnlyPolicy specifies the policy configuration that will be used for
skipping data backup for some of the volume configuration.
string

status fields

FieldDescriptionType
status.namespaceBackupResourceInfoNamespaceBackupResourceInfo contains detailed resource information for namespace backupsarray
status.namespaceBackupResourceInfo.metricsMetrics contains statistics for this namespaceobject
status.namespaceBackupResourceInfo.metrics.totalFailedResourcesTotalFailedResources is the total number of resources that failedinteger
status.namespaceBackupResourceInfo.metrics.totalFailedVolumesTotalFailedVolumes is the total number of volumes that failedinteger
status.namespaceBackupResourceInfo.metrics.totalResourcesTotalResources is the total number of resourcesinteger
status.namespaceBackupResourceInfo.metrics.totalVolumesTotalVolumes is the total number of volumesinteger
status.namespaceBackupResourceInfo.namespaceNamespace is the namespace namestring
status.namespaceBackupResourceInfo.resourceTypesResourceTypes is the list of resource types in this namespacearray
status.namespaceBackupResourceInfo.resourceTypes.chunksChunks is the list of chunks containing resources of this typearray
status.namespaceBackupResourceInfo.resourceTypes.chunks.idID is the chunk identifierinteger
status.namespaceBackupResourceInfo.resourceTypes.chunks.resourceNamesResourceNames is the list of resource names contained in this chunkarray
status.namespaceBackupResourceInfo.resourceTypes.chunks.statusStatus is the processing status of this specific chunkobject
status.namespaceBackupResourceInfo.resourceTypes.chunks.status.reasonReason provides additional context for the statusstring
status.namespaceBackupResourceInfo.resourceTypes.chunks.status.statusStatus is the current status of the chunkstring
status.namespaceBackupResourceInfo.resourceTypes.chunks.totalResourcesTotalResources is the total number of resources in this chunkinteger
status.namespaceBackupResourceInfo.resourceTypes.metricsMetrics contains statistics for this resource typeobject
status.namespaceBackupResourceInfo.resourceTypes.metrics.totalFailedResourcesTotalFailedResources is the total number of resources of this type that failedinteger
status.namespaceBackupResourceInfo.resourceTypes.metrics.totalResourcesTotalResources is the total number of resources of this typeinteger
status.namespaceBackupResourceInfo.resourceTypes.nameName is the Kubernetes resource type in the format group/version/kind (e.g., "apps/v1/Deployment")string
status.namespaceBackupResourceInfo.statusStatus information for this namespaceobject
status.namespaceBackupResourceInfo.status.reasonReason provides additional context for the statusstring
status.namespaceBackupResourceInfo.status.statusStatus is the current status of the namespace backupstring
status.resources.statusApplicationBackupStatusType is the status of the application backupstring
status.stageApplicationBackupStageType is the stage of the backupstring
status.statusApplicationBackupStatusType is the status of the application backupstring
status.virtualMachineBackupResourceInfoVirtualMachineBackupResourceInfo contains detailed resource information for VM backupsarray
status.virtualMachineBackupResourceInfo.metricsMetrics contains statistics for this namespace in VM backupobject
status.virtualMachineBackupResourceInfo.metrics.totalFailedResourcesTotalFailedResources is the total number of resources that failedinteger
status.virtualMachineBackupResourceInfo.metrics.totalFailedVolumesTotalFailedVolumes is the total number of volumes that failedinteger
status.virtualMachineBackupResourceInfo.metrics.totalResourcesTotalResources is the total number of resourcesinteger
status.virtualMachineBackupResourceInfo.metrics.totalVolumesTotalVolumes is the total number of volumesinteger
status.virtualMachineBackupResourceInfo.namespaceNamespace is the namespace namestring
status.virtualMachineBackupResourceInfo.resourceTypesResourceTypes is the list of resource types in this namespace for VM backup, grouped by resource typearray
status.virtualMachineBackupResourceInfo.resourceTypes.chunksChunks is the list of chunks containing resources of this typearray
status.virtualMachineBackupResourceInfo.resourceTypes.chunks.idID is the chunk identifierinteger
status.virtualMachineBackupResourceInfo.resourceTypes.chunks.resourceNamesWithLinkedVMsResourceNamesWithLinkedVMs is the list of resource names with their linked VM informationarray
status.virtualMachineBackupResourceInfo.resourceTypes.chunks.resourceNamesWithLinkedVMs.resourceNameResourceName is the name of the resourcestring
status.virtualMachineBackupResourceInfo.resourceTypes.chunks.resourceNamesWithLinkedVMs.virtualMachineNamesVirtualMachineNames is the list of virtual machine names linked to this resourcearray
status.virtualMachineBackupResourceInfo.resourceTypes.chunks.statusStatus is the processing status of this specific chunkobject
status.virtualMachineBackupResourceInfo.resourceTypes.chunks.status.reasonReason provides additional context for the statusstring
status.virtualMachineBackupResourceInfo.resourceTypes.chunks.status.statusStatus is the current status of the chunkstring
status.virtualMachineBackupResourceInfo.resourceTypes.chunks.totalResourcesTotalResources is the total number of resources in this chunkinteger
status.virtualMachineBackupResourceInfo.resourceTypes.metricsMetrics contains statistics for this resource typeobject
status.virtualMachineBackupResourceInfo.resourceTypes.metrics.totalFailedResourcesTotalFailedResources is the total number of resources of this type that failedinteger
status.virtualMachineBackupResourceInfo.resourceTypes.metrics.totalResourcesTotalResources is the total number of resources of this typeinteger
status.virtualMachineBackupResourceInfo.resourceTypes.nameName is the Kubernetes resource type in the format group/version/kind (e.g., "apps/v1/Deployment")string
status.virtualMachineBackupResourceInfo.statusStatus information for this namespace in VM backupobject
status.virtualMachineBackupResourceInfo.status.reasonReason provides additional context for the statusstring
status.virtualMachineBackupResourceInfo.status.statusStatus is the current status of the namespace backupstring
status.virtualMachines.statusApplicationBackupStatusType is the status of the application backupstring
status.volumes.processedBytesErrorProcessedBytesError indicates if there was an error determining the actual uploaded size.
When true, TotalSize and ActualSize should be treated as unreliable.
boolean
status.volumes.statusApplicationBackupStatusType is the status of the application backupstring
status.volumes.virtualMachineNameVirtualMachineName Stores the VM name that the volume belongs to for VM specific backupsstring
In this topic: