Skip to main content
Version: 3.2

How Backup Retention Works

Applicable to both Classic and Federated modes

Portworx Backup schedule policy retention determines how long backup data is retained before it is removed. Retention behavior depends on the schedule policy, the type of backup location, and the backup mechanism used for volume data.

Main retention rule: Backup-location retention applies only to backup data stored in the backup location. If a backup mechanism keeps the volume data as a local snapshot and does not offload it to the backup location, backup-location retention does not apply to that snapshot.

The following factors determine how retention applies to a backup:

Eligible for deletion​

A backup becomes eligible for deletion when Portworx Backup determines that it is no longer needed and can be removed. What makes a backup eligible depends on the schedule policy that created it:

  • Under a standard schedule policy, a backup becomes eligible when newer backups push it beyond the retain count of the policy, and every later backup that depends on it in the backup chain is also no longer needed.
  • Under an Object Lock-enabled schedule policy, a backup becomes eligible when its provider-side retention period expires.

Eligibility is a decision, not the removal itself. On standard backup locations, physical deletion follows immediately. On immutable backup locations, physical deletion cannot occur until the provider-side retention period expires.

This topic uses eligible for deletion with this meaning throughout. See also Eligible for deletion in the glossary.

Retain count and incremental count​

For backups on standard backup locations, schedule policies control two key retention parameters:

  • Retain count: The maximum number of backup copies to keep concurrently. When the number of backups exceeds this count, Portworx Backup deletes older backups to stay within the limit one by one. For Portworx volume backups, Portworx Backup does not delete a backup in a chain until all dependent backups in that chain are no longer needed.

  • Incremental count: The number of incremental backups taken between two full backups. Incremental backups capture only the changes since the last backup, so they typically complete faster and use less storage than full backups. When the incremental count is reached, Portworx Backup takes a new full backup. Incremental count applies to both Portworx volumes and generic volumes.

For a standard schedule policy without Object Lock, configure Retain and Incremental count based on your recovery and capacity requirements. You can modify these values later.

For an Object Lock-enabled schedule policy, Retain and Incremental count cannot be configured on the policy. Portworx Backup uses cluster-wide defaults of 5 for both values, while the Object Lock policy configured on the bucket or container determines how long backup data is protected from physical deletion. An administrator can change the Portworx Backup defaults in the px-backup-config ConfigMap. For more information, see Object Lock-enabled schedule policies.

For details about these fields and how to configure a schedule policy, see Schedule Policies and Create Schedule Policies.

A backup chain is a full backup together with the incremental backups taken after it that depend on it. Because each incremental stores only the changes since the previous backup, every incremental depends on the full backup and on the incrementals before it in the same chain. A new chain starts each time Portworx Backup takes a new full backup (for example, when the incremental count is reached). Portworx Backup does not delete a full or incremental backup until every later backup that depends on it in the chain is also eligible for deletion — otherwise the dependent backups would become unrestorable.

Incremental count support depends on the volume type and the Portworx Backup version:

Volume typeIncremental count supported from
Portworx volumesAll supported Portworx Backup versions
Generic volumesPortworx Backup 2.10.0
note

Incremental backups for generic volumes also require a compatible Stork version on the application cluster. For the qualified Stork version for your Portworx Backup release, see the Feature Support Matrix and Compatibility Matrix.

note

Only successful backups count toward the retain count of a schedule policy. Partially successful backups (where only some of the selected resources or volumes are captured) and failed backups do not count toward the retain count.

However, partially successful and failed backups are not retained indefinitely. Portworx Backup retains the most recent successful backups up to the configured retain count. When a newer successful backup causes an older successful backup to exceed the retain count, Portworx Backup deletes that older backup and all preceding backups, including partially successful and failed backups.

As a result, partially successful and failed backups may remain in storage until enough newer successful backups are created to move them beyond the retention cutoff. To reclaim storage space sooner, you can delete these backups manually using the web console, CLI, or API.

For immutable backup locations, physical deletion is subject to the provider-side retention period and cannot occur until that period expires. For more information, see Delete Backups.

For VM backups of Portworx Enterprise-backed volumes, Portworx Backup 3.2.0 and later reclaims the volume snapshots of a failed VM during the backup cycle. As a result, a failed or partially successful VM backup consumes less space while it waits to be deleted. This behavior does not change retain-count accounting. For more information, see Snapshot Cleanup for Failed VMs. :::

Object Lock-enabled schedule policies​

For Object Lock-enabled schedule policies, the Retain and Incremental count fields are replaced by Auto delete after retention period. Retention is governed by the object-lock policy configured on the bucket or container rather than by a retain count that you set on the policy.

Retain count and incremental count

Neither value can be configured on the policy, because both fields are disabled in the web console. Portworx Backup applies cluster-wide defaults of 5 for each, which an administrator can change in the px-backup-config ConfigMap:

SettingConfigMap keyDefault
Retain count for object lock-enabled scheduled backupsOBJECT-LOCK-RETAIN-COUNT5
Incremental backups between two full backupsOBJECT-LOCK-INCR-BACKUP-COUNT5

Changing OBJECT-LOCK-INCR-BACKUP-COUNT also changes the minimum retention period that Portworx Backup requires on the bucket or container, because that minimum is derived from the incremental count. For both keys, see px-backup-config ConfigMap parameters.

Auto delete after retention period

Auto delete after retention period is optional on an Object Lock-enabled schedule policy. You can turn it on or off when you create the policy, and change it later by editing the policy:

  • Enabled: when a backup becomes eligible for deletion, Portworx Backup attempts to delete it. The delete succeeds on the first cleanup cycle that runs after the provider-side retention period expires.
  • Disabled: Portworx Backup does not delete backups automatically when the provider-side retention period expires. Backups accumulate in the backup location until you delete them from the web console, CLI, or API. Size the bucket or container for the full set of backups the schedule produces rather than for the retain count.

For the fields and steps, see Create Schedule Policies and Manage Schedule Policies.

Retention by backup location type​

For the copies that are stored in the backup location, how Portworx Backup enforces retention depends on whether the backup location is standard or immutable.

Standard backup locations​

On standard backup locations, Portworx Backup manages retention directly using the retain count and schedule policy. Portworx Backup deletes older backups as new ones are created, keeping only the number of backups defined by the retain count.

The following backup location types are standard (non-immutable) by default:

  • S3 or S3-compatible object stores without Object Lock enabled
  • Azure Blob Storage containers without immutability enabled
  • Google Cloud Storage (GCS) buckets without a bucket retention policy
  • NFS shares

Immutable backup locations​

On immutable backup locations, the storage provider prevents objects from being deleted or overwritten until the configured provider-side retention period expires. Portworx Backup determines when a backup is eligible for deletion, but the storage provider decides whether the deletion is allowed. Backups on immutable locations cannot be physically deleted until the provider-side retention period has expired, regardless of the retain count defined in the schedule policy.

Portworx Backup uses auto-delete-after-retention behavior for immutable backup locations. When a backup becomes eligible for deletion, Portworx Backup attempts to delete it. If the provider-side retention period has not yet expired, the storage provider rejects the delete, so the backup remains in the location and stays marked for deletion. Portworx Backup does not schedule a one-time future deletion; instead, it re-attempts the delete on each subsequent cleanup cycle. A cleanup cycle is the retention-enforcement pass that runs each time a schedule policy executes: Portworx Backup re-evaluates which backups are eligible for deletion under the retain count and retries any deletes that are still pending. The delete succeeds on the first cleanup cycle that runs after the provider-side retention period has expired. Until then, the rejected delete is expected and is not an error condition, and no manual action is required.

warning

If the retain count in the schedule policy is lower than the provider-side retention period, more backups may be stored than the retain count suggests, because backups cannot be physically deleted until provider-side retention expires. Storage usage may also increase as noncurrent object versions accumulate.

Plan capacity around the provider-side retention period, not the retain count alone. As a rough estimate, the peak number of backups retained on an immutable location is the number of backups created during one provider-side retention period:

peak retained backups ≈ backup frequency × provider-side retention period

When sizing, apply this estimate to the full provider-side retention period, which is derived as protection period + 6-day buffer, and not to the protection period alone. For the formula and the resulting 7-day minimum, see Create an object lock-enabled manual backup.

Backup-chain dependencies can hold additional copies beyond this estimate. A full backup is not removed until every incremental that depends on it is also eligible for deletion, so a chain can persist past the point at which the retain count alone would have released it. Size with headroom above the estimate rather than treating it as an upper bound.

For example, one backup per day with a 30-day provider-side retention period can retain up to about 30 copies at peak, regardless of a lower retain count, because none can be deleted until they age out of retention. Multiply the peak backup count by your average backup size (allowing for noncurrent versions) to size storage. For a worked example, see Example: estimating stored backups and storage footprint.

Align the schedule interval and the retention periods

For immutable backup locations, align the schedule interval, the schedule-policy retention period, the provider-side retention period, and the protection period to avoid deletion failures or rejected writes.

Portworx Backup uses the following periods, which are set in different places and control different things:

  • Schedule interval — how often scheduled backups run. You specify this value on the schedule policy.
  • Schedule-policy retention period — when Portworx Backup attempts to prune older backups. You specify this value on the locked schedule policy. It does not shorten the provider-side lock.
  • Provider-side retention period — how long the object store actually prevents deletion or overwriting. This is the Object Lock default retention period configured on the bucket or container. It takes precedence, and Portworx Backup cannot override it.
  • Protection period — the number of days a backup is protected. You specify this value when you create an Object Lock-enabled backup. It determines the minimum provider-side retention period that you need.

Configure these values as follows:

  • When creating the bucket or container, set the provider-side retention period to at least the protection period plus the 6-day buffer, with a minimum of 7 days. For the formula, see Create an Object Lock-enabled manual backup.
  • Keep the schedule-policy retention period greater than the schedule interval so that a backup does not become due for deletion before the next scheduled backup completes.
  • Keep the schedule-policy retention period greater than or equal to the provider-side retention period. Matching the two is recommended. Reducing the schedule-policy retention period does not shorten the provider-side lock. If Portworx Backup attempts to delete objects before the provider-side retention period expires, the object store rejects the deletion. Portworx Backup retries the deletion until the retention period expires. Depending on the provider, writes that attempt to overwrite protected objects might also be rejected. Backups are also retained longer than the schedule-policy retention period suggests, which increases storage cost.

Increasing the schedule-policy retention period is generally safe. Before reducing it, verify that the new value is not shorter than the schedule interval or the provider-side retention period. For more information, see Update the backup schedule.

S3 or S3-compatible backup locations with Object Lock​

When Object Lock is enabled on an S3 bucket:

  • Portworx Backup decides when a backup is eligible for deletion, but the S3 provider enforces provider-side retention.
  • Deletes are blocked until the provider-side retention period configured on the bucket expires.
  • The retention mode determines whether early deletion is possible before the retention period expires:
    • Compliance mode: No one, including the AWS account root user, can delete or overwrite a locked object version until its retention period expires.
    • Governance mode: A user granted the s3:BypassGovernanceRetention permission (with the x-amz-bypass-governance-retention:true header) can delete a locked object before its retention period expires. Governance mode protects against accidental deletion while still allowing an authorized administrator to remove objects early. Portworx Backup does not bypass Governance-mode retention on its own; its automatic retention behavior treats both modes the same and waits for the retention period to expire. Early deletion in Governance mode is a manual, out-of-band action performed directly against S3 by an authorized user.
  • The bucket must be created with Object Lock enabled, versioning enabled, a default retention mode (Compliance or Governance), and a configured retention period. Object Lock cannot be enabled on an existing bucket.
  • S3 Lifecycle Management (LCM) rules are still required to clean up noncurrent object versions and delete markers. Without lifecycle rules, noncurrent versions and delete markers accumulate indefinitely even after Portworx Backup removes the backup entry. For rule examples and configuration, see Managing the lifecycle of objects in the AWS documentation.

For configuration steps, see Add an Object Lock-Enabled S3 Backup Location.

Azure immutable backup locations​

When Azure Blob immutability is enabled:

  • Portworx Backup waits for a backup to become eligible for deletion, but Azure enforces the retention period.
  • Deletes are blocked until the Azure retention period expires.

The following table shows which Azure immutability features Portworx Backup supports:

Azure immutability featureScopeSupportedBehavior
Version-level WORM policy with time-based retentionStorage accountYesAzure enforces the retention period on each blob version.
Version-level WORM policy with time-based retentionContainerYesTakes precedence over a policy configured at the storage account level.
Container-level WORM policyContainerNoNot supported as an immutability mechanism for Portworx Backup backup locations.
Blob-level (blob-granular) policyBlobNoNot supported as an immutability mechanism for Portworx Backup backup locations.
Legal holdContainer or blob versionNoIf a legal hold is applied outside Portworx Backup, Azure prevents deletion until the hold is released. Portworx Backup cannot release the hold and retries the deletion on each cleanup cycle until it is removed.

Version-level WORM requires blob versioning on the storage account. As backups are written and deleted, previous blob versions can accumulate. Configure Azure Blob Storage lifecycle management rules to delete previous versions after they age out. Without lifecycle rules, previous versions remain and continue to consume storage after Portworx Backup removes the backup entry. Versions that are still within the retention period cannot be deleted until the retention period expires.

For configuration steps and the full list of supported and unsupported Azure immutability features, see Add an Azure Immutable Backup Location.

GCS immutable backup locations​

When a Google Cloud Storage (GCS) bucket has a retention policy configured (optionally locked with Bucket Lock):

  • Portworx Backup waits for a backup to become eligible for deletion, but GCS enforces the retention period.
  • Deletes are blocked until an object meets the bucket's retention period. Objects cannot be deleted or overwritten before that period elapses.
  • If the retention policy is locked using Bucket Lock, it cannot be reduced or removed, and the bucket cannot be deleted until every object meets the retention period. A retention policy applies to all current and future objects in the bucket.
  • If object versioning is enabled, configure GCS Object Lifecycle Management rules to remove noncurrent versions after they age out. Without lifecycle rules, noncurrent versions accumulate even after Portworx Backup removes the backup entry. For rule examples and configuration, see Object Lifecycle Management in the Google Cloud documentation.

For details on GCS retention behavior, see Retention policies and Bucket Lock in the Google Cloud documentation.

Retention by backup mechanism​

The backup mechanism used for volume data determines whether the protected copy is stored in the backup location or kept only as a local CSI (Container Storage Interface) snapshot on the storage platform. Backup-location retention governs only the copies that reach the backup location, so the mechanisms below differ in how much of the protected data it controls.

The mechanism names used here match those in Backup Types by Driver.

Portworx cloud snapshots​

Portworx Backup creates a Portworx cloud snapshot and stores it in the configured backup location.

  • On standard backup locations, retention follows the retain count. A backup is not deleted until all dependent backups in the chain are no longer needed.
  • On immutable backup locations, the backup objects stored in the target location are protected by provider-side retention.

Native CSI snapshot (on-premises and on-cloud)​

Portworx Backup uses the CSI driver of the storage provider to create a local snapshot on the storage platform. The snapshot remains on the local storage system or cloud disk and is not uploaded to the backup location. Retention works the same way for the on-premises and on-cloud variants described in Backup Types by Driver.

  • Backup-location retention applies only to the resource metadata stored in the backup location, not to the local snapshot data.
  • The local CSI snapshot follows the retain count of the schedule policy. When a backup exceeds the retain count and is deleted, Portworx Backup removes the backup metadata from the backup location and deletes the associated VolumeSnapshot from the application cluster.
  • Immutable settings on the backup location do not protect the local CSI snapshot because the snapshot data is not stored there.

CSI local snapshot with KDMP​

The CSI driver creates a local snapshot, and KDMP copies the snapshot contents to the configured backup location. Each backup chain creates a new Kopia repository in the backup location.

  • The local snapshot remains on the storage platform, and the offloaded copy is stored in the backup location.

  • Backup-location retention applies to the offloaded copy in the object store or NFS location.

  • The local snapshot and the offloaded copy belong to the same backup and follow the same schedule policy retain count. When the backup ages out of the retain count and is deleted, Portworx Backup removes the offloaded copy in the backup location and marks the local CSI snapshot on the storage platform for deletion. Provider-side immutability protects only the offloaded copy in the backup location; it does not extend to the local snapshot.

    note

    This behavior applies when Offload CSI snapshots to backup location is enabled as part of the 3-2-1 backup strategy. Portworx Backup marks the local snapshot for deletion, but the CSI provider performs the actual deletion. The deletion therefore depends on the CSI driver configuration and behavior and is not controlled by Portworx Backup.

    For local snapshots created without offload, see Native CSI snapshot (on-premises and on-cloud).

  • On immutable backup locations (S3 Object Lock, Azure, or GCS object stores), provider-side retention protects the offloaded copy in the target bucket after Portworx Backup writes the data there. NFS locations are standard (non-immutable) and are not covered by provider-side retention.

note

CSI local snapshot with KDMP is available in Classic mode only. NFS backup locations are not supported in Federated mode.

Direct KDMP/generic​

The KDMP driver copies file-system data from the volume directly to the backup location without creating a local CSI snapshot. Each backup chain creates a new Kopia repository in the backup location.

  • Backup-location retention applies directly to the stored backup data in the backup location.
  • On immutable backup locations (S3 Object Lock, Azure, or GCS object stores), provider-side retention protects the copied data in the target bucket or object-store location. NFS shares are standard (non-immutable) and are not covered by provider-side retention.
note

Direct KDMP/generic backups are available in Classic mode only.

How retention applies to Kopia repositories

For both CSI local snapshot with KDMP and Direct KDMP/generic backups, each backup chain is stored as its own Kopia repository in the backup location; retention does not prune blocks across a single shared repository. When an individual backup in a chain becomes eligible for deletion, Portworx Backup prunes that backup's data (its snapshots and the blocks that no other backup references) from that chain's Kopia repository. When every backup in a chain has aged out and been deleted, the entire per-chain Kopia repository is removed. On immutable backup locations, this pruning and removal still cannot physically occur until the provider-side retention period expires.

Classic mode and Federated mode behavior​

Classic and Federated modes differ in how physical backup deletion is performed.

In Classic mode, the Portworx Backup server manages the delete workflow and performs the physical deletion from supported backup locations.

In Federated mode, Portworx Backup determines when a backup can be deleted and initiates the delete workflow. Stork on the application cluster performs the physical deletion from the backup location using Workload Identity. Workload Identity enables Stork to authenticate directly to the backup location without storing backup location credentials on the Portworx Backup server. For more information, see Federated Mode Specifications.

The backup mechanisms supported by each operation mode determine which sections of Retention by backup mechanism applies:

  • Portworx cloud snapshots and Native CSI snapshot — supported in both Classic and Federated modes, so the retention behavior applies in both modes.
  • CSI local snapshot with KDMP and Direct KDMP/generic — supported in Classic mode only, so the retention behavior applies in Classic mode only.

For the backup locations and backup mechanisms that each mode supports, see Operation modes feature comparison.

Manual (on-demand) backups​

Retain count and incremental count are schedule policy settings, so they apply only to scheduled backups. Manual (on-demand) backups are not governed by a schedule policy and are never automatically deleted by retention — they persist until you delete them explicitly from the web console, CLI, or API.

  • On standard backup locations, a manual backup is removed as soon as you delete it (subject to backup-chain dependencies).
  • On immutable backup locations, deleting a manual backup removes the Portworx Backup entry, but the backup data cannot be physically removed until the provider-side retention period expires.
  • Like scheduled backups, a manual backup that is part of a backup chain is not physically removed until every later backup that depends on it is also deleted.

For deletion steps, see Delete Backups.

Important considerations​

Deleting a schedule does not delete existing backups

Deleting a backup schedule or schedule policy removes the policy configuration but does not delete backups that have already been created under that schedule. You must delete those backups separately.

Pausing a schedule also pauses its retention cleanup

Retention is enforced during the cleanup cycle that runs each time a schedule executes. Pausing (suspending) a backup schedule stops new backups from being created and also pauses retention enforcement for that schedule — existing backups are not re-evaluated for deletion while the schedule is paused. On immutable backup locations, a backup that became eligible for deletion but was rejected by provider-side retention is not retried until you resume the schedule. Resuming the schedule resumes normal retention enforcement, and the pending deletions are retried on the next cleanup cycle. If you need to remove such backups while the schedule is paused, delete them manually from the web console, CLI, or API.

Changing retain count or incremental count

  • Retain count: A change takes effect on the next retention cycle and is evaluated against the existing backups. Lowering the retain count marks the now-excess older backups as eligible for deletion (subject to backup-chain dependencies, and to provider-side retention on immutable locations). Raising it keeps more backups going forward.
  • Incremental count: A change applies only to future backup chains. Chains that already exist keep the structure they had when they were created; the new value takes effect from the next full backup.

Metrics retention is not backup-data retention

Portworx Backup metrics retention (how long monitoring metrics are stored) is separate from backup-data retention. Backup-data retention controls how long Portworx Backup keeps your backup copies. Configuring metrics retention does not affect how long Portworx Backup stores your backup data. To configure how long metrics are retained, see Configure Observability — for example, the prometheus.storage and retentionSize settings in Configure Portworx Backup Prometheus, or the Prometheus retention settings in Configure your Own Prometheus.

Example: estimating stored backups and storage footprint​

The number of backups retained and the resulting storage footprint depend on the retain count, incremental count, backup-chain dependencies, and, for immutable backup locations, the provider-side retention period. The following example shows how these factors affect capacity requirements.

Assume a daily schedule policy on a standard backup location with:

  • Retain count = 7
  • Incremental count = 6

Each backup chain consists of one full backup followed by six incremental backups, for a total of seven backups.

The retain count does not represent the peak number of stored backups. An incremental backup depends on the preceding backups in its chain. Therefore, Portworx Backup cannot delete an earlier backup while a later backup that depends on it is still needed.

As a new chain is created, the previous chain remains until its dependent backups are no longer needed. In this example, up to 13 backups can be stored during the overlap between the two chains:

StatePrevious chainCurrent chainTotal stored
Current chain has just started718
Current chain is nearly complete7613
Previous chain is no longer needed077

Plan capacity for the peak rather than the retain count alone. The storage footprint of 13 backups is not equivalent to 13 full backup copies. Each chain consists of one full backup and the data captured by its incremental backups. The actual footprint therefore depends on the full backup size and the amount of data that changes between backups.

On an immutable backup location, the provider-side retention period can cause backups to remain physically stored for longer. For example, with the same daily schedule and a 30-day provider-side retention period, backups cannot be physically deleted until the retention period expires. The backup location can therefore contain approximately 30 daily backup points, even though the schedule policy's retain count is 7.

If a full backup is approximately 200 GiB and each daily incremental contains approximately 20 GiB of changed data, a 30-day period spans approximately four full backup cycles. Estimate the storage requirement from the full backups and accumulated incremental data, and also account for storage consumed by noncurrent object versions where applicable.

When planning capacity, account for both backup-chain dependencies and any provider-side retention period. The factor that keeps backup data physically stored for longer determines the effective storage requirement.

note

These numbers are illustrative. Actual footprint depends on data change rate, backup mechanism (full cloud snapshot versus KDMP incremental), and provider-side retention settings.

Troubleshooting​

SymptomLikely cause and action
Backups accumulate beyond the retain count on an immutable backup locationBackups cannot be physically deleted until provider-side retention expires. Verify the configured retention period and any lifecycle policies on the bucket or container, and plan storage capacity based on the retention period rather than the configured retain count.
Noncurrent object versions or delete markers accumulate on an Object Lock S3 bucketPortworx Backup removes the backup entry, but the provider retains noncurrent versions. Confirm that S3 Lifecycle Management (LCM) rules are configured to clean up noncurrent versions and delete markers.
Delete attempt fails on an immutable backup locationThis is expected while the provider-side retention period is active, and no action is required. Portworx Backup retries the deletion during each cleanup cycle. Physical deletion occurs during the first cleanup cycle after the retention period expires.
Deleting a backup reports that the object lock retention period is still activeThe backup has not yet reached the end of the provider-side retention period and cannot be removed. Wait for the retention period to expire; Portworx Backup retries the delete on each cleanup cycle.
Adding a GCS bucket as a backup location fails because versioning is not enabledPortworx Backup requires object versioning alongside the bucket retention policy. Enable Object versioning on the bucket and add the backup location again. See Add a GCS Immutable Backup Location.
Adding a GCS bucket as a backup location fails with a minimum retention period errorThe bucket's retention period is shorter than the minimum Portworx Backup requires. Set the bucket retention period to protection period + 6-day buffer, which gives a 7-day minimum (a 1-day protection period plus the 6-day buffer). Increase the bucket's retention period accordingly and add the backup location again. See Add a GCS Immutable Backup Location and Create an object lock-enabled manual backup.
A GCS bucket with a locked retention policy cannot be emptied or deletedExpected. A locked retention policy cannot be shortened or removed, and the bucket cannot be deleted until every object has met its retention period. Wait for the retention period to elapse on all objects.
Partially successful or failed backups remain beyond the retain countExpected behavior. Only successful backups count toward the retain count. Partially successful and failed backups are removed when enough newer successful backups accumulate to move the retention cutoff past them. However, backup-chain dependencies or provider-side retention on immutable backup locations may delay deletion. To reclaim storage space sooner, you can manually delete these backups using the web console, CLI, or API, subject to any applicable retention restrictions. For more information, see Delete Backups.
A failed VM's volumes show zero size and a reason that includes Snapshot cleanup issuedExpected on Portworx Backup 3.2.0 and later. Portworx Backup reclaimed the snapshots of the failed VM during the backup cycle. The VMs that were backed up successfully are unaffected and remain restorable. See Snapshot Cleanup for Failed VMs.
A backup location stays in Delete pending after you delete itA failed VM backup on that location is still being cleaned up. The status reports that it is waiting for volume backup cleanup on the named cluster. Portworx Backup finalizes the deletion automatically once cleanup completes. See Snapshot Cleanup for Failed VMs.
In this topic: