Skip to main content
Version: 3.2

Backup Resources State Matrix

Applicable to both Classic and Federated modes

The Backup resources state matrix provides an overview of the various resources and their operational states within the Portworx Backup ecosystem. It offers insights into the functionality, status, and potential issues associated with states of each Portworx Backup resource.

This matrix serves as a comprehensive guide for understanding the current state and behavior of various resources in the Portworx Backup framework, enabling efficient troubleshooting, resource management, and operational planning. The following table describes each resource and its states. For recommended actions when a resource is in a problem state, see Remediation and next steps.

Portworx Backup ResourceStatesApplicable operation mode
Backup location
  • Valid: suitable for creating manual or scheduled backups
  • Invalid: validation of the backup location failed, preventing Portworx Backup from accessing or restoring backups from it

In Federated mode, backup location validation is performed by Stork on each application cluster using Workload Identity. A backup location may be valid for one cluster but invalid for another.

Both
Users and user groups
  • Unknown: user is deleted from Keycloak or user data is not cached due to API-based access to Portworx Backup
Both
Clusters

The cluster status reflects whether Portworx Backup can reach and operate on the cluster:

  • Active: the cluster is running and reachable. You can perform all Portworx Backup operations, such as creating backups, restores, and schedules
  • Disconnected: Portworx Backup cannot communicate with the cluster, even though the cluster itself might still be running. This is caused by a problem with the connection between Portworx Backup and the cluster. For example, an incorrect kubeconfig, a missing Stork installation, or an expired Kubernetes token. While a cluster is disconnected, you cannot back up or restore its namespaces or VMs. For more information, see Delete Clusters
  • Not Available: Portworx Backup cannot reach the cluster at all because the cluster is offline or down. For example, the cluster or its API server is unreachable, or its kubeconfig is no longer valid
  • Failed: Portworx Backup could not add the cluster, for example, because the Portworx Backup cluster cannot reach the application cluster over a common IP family. For more information, see IPv6 limitations.

In short, a Disconnected cluster is usually still running but has lost its connection to Portworx Backup, whereas a Not Available cluster is offline or unreachable.

In Federated mode, clusters refer to Gardener shoot clusters or other application clusters managed by Stork. The Portworx Backup server sends instructions to each cluster but does not directly access backup locations.

Both
Virtual Machines
  • Running: the VM is operational. Freeze/thaw (pre-exec and post-exec) rules run only when the VM and qemu-guest-agent are in the running state, which produces a file-system consistent backup
  • Paused: the VM is paused and its vCPUs are not executing. A VM can enter this state during a direct KDMP backup, when KubeVirt causes the VM to release its volume during the mount phase. Freeze/thaw rules do not run on a paused VM, so the backup is not file-system consistent, and you might need to restart the VM after the backup completes
  • Stopped: the VM is powered off. Freeze/thaw rules do not run on a stopped VM. Portworx Backup can still back up a stopped VM, but the backup is not file-system consistent

For more information about freeze/thaw rules, see Backup Rules for VMs.

Classic mode only. KubeVirt virtual machine backup is not supported in Federated mode.
Backup schedules
  • Active: scheduler actively creates backups at specified intervals
  • Suspended: scheduler is paused, and no backups are created
Both
Backups
  • Success: all associated resources (for example, PVs, PVCs) are successfully backed up
  • Partial Success: only some volumes are backed up
  • Failure: none of the volumes or resources are backed up successfully
  • In-Progress: backup operation is ongoing

For VM backups, a VM is backed up successfully only when all of its volumes are backed up. A single-VM backup is therefore either Success or Failure. It has no Partial Success state, and a failed single-VM backup cannot be restored. Partial Success applies to multi-VM backups, where some VMs are backed up successfully and others fail; only the successfully backed-up VMs can be restored. For more information, see Partial Success in VM Backups.

In Federated mode, backup operations are handled by Stork on each application cluster. If no valid application cluster is available to process a backup deletion, the delete request is rejected. To remove a backup in this state, an explicit force delete must be performed. For more information, see Force Delete Backups.

Both
Restores
  • Pending: the restore has been created but has not started
  • In-Progress: restore operation is ongoing
  • Success: the restore completed and all selected resources were restored
  • Partial Success: only some of the selected resources were restored, while others failed or were skipped. For example, a restore from a dual-stack cluster to an IPv4-only or IPv6-only cluster reports Partial Success, not Failure, when Kubernetes Service objects fail to apply. For more information, see IPv6 limitations.
  • Failure: the restore failed and no resources were restored

Backups report their state at the volume and resource level. VM restores additionally report a per-VM status, described in the VM restores (per-VM status) row below.

Both
VM restores (per-VM status)

In a VM restore, each VM is evaluated independently based on the outcome of its volume restores, and the overall restore status is derived from the individual VMs:

  • Success: all VMs in the restore were restored successfully
  • Partial Success: at least one VM was restored successfully and at least one VM failed. If a single volume of a multi-volume VM fails, that entire VM is marked as Failed; if every VM fails, the overall restore is Failure, not Partial Success
  • Failure: none of the VMs were restored successfully

Each VM can be Pending, In Progress, Success, or Failed. Individual volumes and resources of a VM can also be:

  • Retained: not replaced, because the restore used the Retain replace policy
  • Skipped: not restored, for example the resources of a failed VM
  • Deleted: restored and then cleaned up because the owning VM ultimately failed

For more information, see Partial Success in VM Restores.

Classic mode only. KubeVirt virtual machine restore is not supported in Federated mode.
Cluster Discovery Configuration
  • In Progress: discovery is currently scanning the Gardener API for shoot clusters matching the configured label selector; manual shoot discovery and editing are not available in this state
  • Success: discovery completed successfully; all matching shoot clusters are registered or updated in Portworx Backup
  • Failed: discovery encountered an error, such as a Gardener API connectivity failure or an expired token; the ClusterDiscoveryConfigFailed Prometheus alert fires in this state
  • Deleting: the cluster discovery configuration is being removed; editing and further deletion operations are not available in this state
Federated mode only
Backup location – cluster connection
  • Valid: the cluster can connect to the backup location using Workload Identity and is eligible for backup, restore, and sync operations
  • Invalid: the cluster cannot connect to the backup location; typically caused by missing or misconfigured Workload Identity permissions on the cluster

Each cluster associated with a backup location is validated independently. A backup location may be valid for one cluster and invalid for another.

Federated mode only
Backup sync
  • Pending: sync has been triggered but has not yet started
  • In Progress: sync is currently running; no additional sync operations can start for the same storage bucket until this completes

When sync completes, the All Backups page is updated to reflect the current state of the backup location. Only one sync operation can run at a time for a given storage bucket.

Federated mode only

Remediation and next steps​

Use the following guidance to act on the states in the tables above. For the complete list of alerts that Portworx Backup raises for these conditions, and how to configure email notifications, see Alerts.

StateRecommended action
Backup location – InvalidVerify the cloud credentials, bucket or container name, and network access from Portworx Backup. In Federated mode, backup location validation runs on each application cluster, so check the Workload Identity permissions on the affected cluster. See Validate cluster connectivity to a backup location.
Cluster – DisconnectedConfirm that the kubeconfig and Kubernetes token are valid and that Stork is installed and running on the cluster. See Install Stork and Delete Clusters.
Cluster – Not AvailableConfirm that the cluster is online and its API server is reachable, then update the cluster's kubeconfig in Portworx Backup if it has expired.
Backup – Partial Success or FailureOpen the backup details to identify the volumes or resources that failed, resolve the underlying issue, and run the backup again.
Restore – Partial Success or FailureOpen the Restore Details page to identify the failed resources or VMs and the failure reason, then retry the restore. For VM restores, see Partial Success in VM Restores. For restores with a very large number of resources, see View Detailed Restore Failures from the Backup Location.
Backup cannot be deleted (Federated mode)If no valid application cluster is available to process the deletion, perform a force delete. See Force Delete Backups.
Backup location – cluster connection Invalid (Federated mode)Review the per-cluster reason on the Clusters Info page and correct the Workload Identity configuration on the affected cluster. See Validate cluster connectivity to a backup location.
Cluster Discovery Configuration – Failed (Federated mode)Check the Gardener API connectivity and the token used for discovery, resolve the reported error, and run discovery again.
In this topic: