Backup Resources State Matrix
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 Resource | States | Applicable operation mode |
|---|---|---|
| Backup location |
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 |
| Both |
| Clusters | The cluster status reflects whether Portworx Backup can reach and operate on the cluster:
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.
| Both |
| Virtual Machines |
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 |
| Both |
| Backups |
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.
| Both |
| Restores |
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:
Each VM can be Pending, In Progress, Success, or Failed. Individual volumes and resources of a VM can also be:
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 |
| Federated mode only |
| Backup location – cluster connection |
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 |
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.
| State | Recommended action |
|---|---|
| Backup location – Invalid | Verify 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 – Disconnected | Confirm 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 Available | Confirm 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 Failure | Open the backup details to identify the volumes or resources that failed, resolve the underlying issue, and run the backup again. |
| Restore – Partial Success or Failure | Open 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. |