Skip to main content
Version: 3.2

Partial Success in VM Backups

Applicable to Classic mode only

The partial success for VM Backup feature improves the fault tolerance and granularity of VM-based backups in Portworx Backup. Prior to this enhancement, any failure during execution rules (PreExec or PostExec) for a single VM would result in the entire backup being marked as failed. This feature introduces per-VM level handling for execution rules and status reporting, enabling partial success in multi-VM backup workflows.

Partial Success of VM backups

  • VM backups are configured to take file-system consistent backups through auto-enabled freeze/thaw rules executed at the per-VM level during per-VM volume backup.

  • Rule execution is isolated per VM to reduce the impact of long freeze/unfreeze cycles.

  • Execution rule failures (PreExec/PostExec) are tracked per VM.

  • If the PreExec rule of a VM fails, or if the volume backup of that VM fails, only that VM is marked as failed. The backup continues with the remaining VMs.

This feature improves backup resilience and observability by allowing VM-specific success/failure states in multi-VM backup operations. It reduces unnecessary backup failures due to isolated issues and improves rule execution efficiency.

Backup success criteria for VM backups​

The outcome depends on the success or failure of VMs selected for the VM backup. A VM backup is considered:

  • Success: if all VMs selected for the VM backup are successfully backed up.

  • Partial Success: if at least one VM is successfully backed up, even if others fail.

  • Failed: if all VMs selected for the backup are not backed up successfully.

Snapshots of failed VM backups​

Within a backup, the backup of an individual VM is marked as failed if any of its volumes fails to back up, even when the remaining volumes are backed up successfully. Because a VM is restored as a whole, snapshots of the successfully backed-up volumes cannot be used independently.

Starting with Portworx Backup 3.2.0, Portworx Backup initiates cleanup of completed Portworx volume snapshots associated with a failed VM backup during the same backup cycle. This allows Portworx Enterprise to reclaim the associated storage without waiting for the backup to be deleted. Snapshots of successfully backed-up VMs are retained and remain available for restore.

Snapshot cleanup requires Portworx Backup 3.2.0 or later, Stork 26.5.0 or later, and Portworx Enterprise 3.7.2 or later on the application cluster. If these requirements are not met, VM backup and restore operations continue to function, but automatic snapshot cleanup for failed VM backups is unavailable. The snapshots remain in the backup location until the corresponding backup is deleted.

For version-specific cleanup behavior, see Snapshot Cleanup for Failed VMs.

In this topic: