Labels in Portworx Backup
Portworx Backup enables you to retrieve the backups, namespaces, and resources with the preset labels. Kubernetes allows you to apply the labels for namespaces and resources with a key-value pair using the CLI and Portworx Backup UI allows you to filter them when needed at a later point in time to create a backup. You can leverage the UI to apply labels to backups and search them later.
Besides, the labeling feature allows you to automatically back up any new namespace(s) or resource(s) with a preset label, as the scheduler actively picks up new namespaces and/or resources with specific labels in each cycle of scheduled backups.
Below topics guide you to apply labels and retrieve the labeled entities for backup:
📄️ Label backups
This topic explains how to apply and manage labels for backups in Portworx Backup. Labels can be applied during backup creation or by editing existing backups, helping to organize and filter backups more effectively. The guide covers how to assign key-value pair labels to both manual and scheduled backups, and how to use these labels to filter backups for easier identification and management. This ensures better backup organization and quick access to specific backups within the Portworx Backup web console.
📄️ Label resources
This topic explains how to apply and manage resource labels in Portworx Backup to selectively back up labeled resources in Kubernetes. Labels allow users to filter and organize resources with key-value pairs and perform selective backups of specific resources within namespaces. The guide covers how to apply resource labels via the CLI, filter labeled resources in the Portworx Backup web console, and back them up efficiently. It also explains how resource labels are handled during manual and scheduled backups, ensuring only the required resources are included in backups.
📄️ Backup labeled namespaces
This topic explains how to apply and use namespace labels in Portworx Backup to filter and back up labeled namespaces. Labels allow users to organize, search, and automate backups for namespaces with preset key-value pairs. The guide covers applying labels via the CLI, filtering labeled namespaces in the Portworx Backup web console, and backing them up in a single click. It also details how scheduled backups can automatically include future namespaces with matching labels, streamlining backup management and automation for Kubernetes environments.