Skip to main content
Version: 3.6

ApplicationRestore CRD reference

ApplicationRestore represents applicationrestore object.

ApplicationRestore

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
specApplicationRestoreSpec is the spec used to restore applicationsobject
statusApplicationRestoreStatus is the status of an application restore operationobject

spec fields

FieldDescriptionType
spec.backupLocationBackupLocation indicates the backup storage location where the backup is stored.string
spec.backupNameBackupName specifies the name of the backup from which the restore will be performed.string
spec.backupObjectTypeBackupObjectType specifies if its vm specific backup Object for restore.string
spec.filterFilter specifies the filter options to apply during restore.object
spec.filter.namespaceFilterNamespaceFilter specifies namespace-level filtering (for namespace backups only)object
spec.filter.namespaceFilter.excludeNamespacesExcludeNamespaces specifies namespaces to excludearray
spec.filter.namespaceFilter.excludeResourcesExcludeResources specifies explicit resources to exclude (with name, namespace, group, version, kind)array
spec.filter.namespaceFilter.gvksGVKs specifies resource types to filter by (group/version/kind format)
Format: "group/version/kind" (e.g., "apps/v1/Deployment") or "version/kind" for core resources (e.g., "v1/Pod")
array
spec.filter.namespaceFilter.includeNamespacesIncludeNamespaces specifies namespaces to includearray
spec.filter.namespaceFilter.includeResourcesIncludeResources specifies explicit resources to include (with name, namespace, group, version, kind)array
spec.filter.namespaceFilter.namespaceNamePatternNamespaceNamePattern specifies a regex pattern for namespace namesstring
spec.filter.namespaceFilter.resourceNamePatternResourceNamePattern specifies a regex pattern for resource namesstring
spec.includeOptionalResourceTypesIncludeOptionalResourceTypes lists additional resource types to be included in the restore process.array
spec.includeResourcesIncludeResources specifies the list of individual resources to be explicitly included in the restore.array
spec.isSFRThis is SingleFileRestore specific field to indicate that this restore is for SingleFileRestoreboolean
spec.keepCrStatusKeepCrStatus specifies if the CR status should be retained during restore.boolean
spec.namespaceMappingNamespaceMapping provides a mapping between source and destination namespaces.object
spec.rancherProjectMappingRancherProjectMapping maps Kubernetes namespaces to Rancher projects for restoration.object
spec.replacePolicyReplacePolicy defines the policy for replacing existing resources during the restore process.string
spec.storageClassMappingStorageClassMapping provides a mapping between source and target storage classes.object
spec.targetNamespacePrefixtarget_namespace_prefix will be used to prefix all the target namespaces when filter is applied
Only one of namespace_mapping, target_namespace_prefix can be set at a time
string
spec.virtualMachineFiles.destinationPathDestinationPath specifies the target path where the file should be restoredstring
spec.virtualMachineFiles.durationDuration indicates time taken to restore the file (used in status)string
spec.virtualMachineFiles.isDirIs Directoryboolean
spec.virtualMachineFiles.partitionInfoPartitionInfo specifies the partition info (vda1, sda14) if the drive is partitionedstring
spec.virtualMachineFiles.reasonReason provides additional information about the status (used in status)string
spec.virtualMachineFiles.sourcePathSourcePath specifies the path of the file in the backup to be restoredstring
spec.virtualMachineFiles.statusStatus indicates the current status of this file's restore operation (used in status)string
spec.vmRestoreOptionsVmRestoreOptions contains VM-specific restore options (only applicable for VirtualMachine backup type)object
spec.vmRestoreOptions.skipMacMaskingSkipMacMasking skips MAC address masking during VM restoreboolean
spec.vmRestoreOptions.skipVmRestartSkipVmRestart skips VM restart during restoreboolean

status fields

FieldDescriptionType
status.reasonsReasons is a deduplicated list of reason strings referenced by index in ResourceInfoarray
status.resourceInfoResourceInfo contains detailed resource information for restores grouped by namespace, GVK, and statusarray
status.resourceInfo.metricsMetrics contains statistics for this namespaceobject
status.resourceInfo.metrics.totalFailedResourcesTotalFailedResources is the total number of resources that failedinteger
status.resourceInfo.metrics.totalFailedVolumesTotalFailedVolumes is the total number of volumes that failedinteger
status.resourceInfo.metrics.totalResourcesTotalResources is the total number of resourcesinteger
status.resourceInfo.metrics.totalRetainedResourcesTotalRetainedResources is the total number of resources that were retainedinteger
status.resourceInfo.metrics.totalVolumesTotalVolumes is the total number of volumesinteger
status.resourceInfo.namespaceNamespace is the namespace namestring
status.resourceInfo.resourceTypesResourceTypes is the list of resource types in this namespace grouped by GVKarray
status.resourceInfo.resourceTypes.chunksChunks is the list of chunks containing resources of this typearray
status.resourceInfo.resourceTypes.chunks.idID is the chunk identifier (from backup)integer
status.resourceInfo.resourceTypes.chunks.resourceInfosResourceInfos is the list of resources grouped by statusarray
status.resourceInfo.resourceTypes.chunks.resourceInfos.resourcesResources is the list of resources with this statusarray
status.resourceInfo.resourceTypes.chunks.resourceInfos.resources.nameName is the name of the resourcestring
status.resourceInfo.resourceTypes.chunks.resourceInfos.resources.reasonIndexReasonIndex is the index into the Reasons list in ApplicationRestoreStatus
A value of 0 indicates no reason
integer
status.resourceInfo.resourceTypes.chunks.resourceInfos.statusStatus is the restore status for this group of resourcesstring
status.resourceInfo.resourceTypes.chunks.totalResourcesTotalResources is the total number of resources in this chunkinteger
status.resourceInfo.resourceTypes.metricsMetrics contains statistics for this resource type (reuses ResourceTypeMetrics from backup)object
status.resourceInfo.resourceTypes.metrics.totalFailedResourcesTotalFailedResources is the total number of resources of this type that failedinteger
status.resourceInfo.resourceTypes.metrics.totalResourcesTotalResources is the total number of resources of this typeinteger
status.resourceInfo.resourceTypes.nameName is the Kubernetes resource type in the format group/version/kind (e.g., "apps/v1/Deployment")string
status.resourceInfo.statusStatus information for this namespace (reuses NamespaceStatusInfo from backup)object
status.resourceInfo.status.reasonReason provides additional context for the statusstring
status.resourceInfo.status.statusStatus is the current status of the namespace backupstring
status.resources.statusApplicationRestoreStatusType is the status of the application restorestring
status.singleFileRestoreStatusSingleFileRestoreStatus is the status of a single file restore operationobject
status.singleFileRestoreStatus.files.destinationPathDestinationPath specifies the target path where the file should be restoredstring
status.singleFileRestoreStatus.files.durationDuration indicates time taken to restore the file (used in status)string
status.singleFileRestoreStatus.files.isDirIs Directoryboolean
status.singleFileRestoreStatus.files.partitionInfoPartitionInfo specifies the partition info (vda1, sda14) if the drive is partitionedstring
status.singleFileRestoreStatus.files.reasonReason provides additional information about the status (used in status)string
status.singleFileRestoreStatus.files.sourcePathSourcePath specifies the path of the file in the backup to be restoredstring
status.singleFileRestoreStatus.files.statusStatus indicates the current status of this file's restore operation (used in status)string
status.singleFileRestoreStatus.statusSingleFileRestoreStatusType is the status of the single file restorestring
status.stageApplicationRestoreStageType is the stage of the restorestring
status.statusApplicationRestoreStatusType is the status of the application restorestring
status.volumes.statusApplicationRestoreStatusType is the status of the application restorestring
In this topic: