Label backups
You can apply labels to both manual and scheduled backups either while creating or editing them. After applying the labels, you can filter the backups with specified labels
Apply labels during backup creation
To apply labels for backups of namespaces while creating a backup:
-
From the home page, click Clusters icon in the left navigation pane.
-
Go to the cluster where your namespace or application exists.
-
In the cluster page, navigate to Applications tab,
-
Under NS tab, select the required namespace (or application) and then click Backup.
-
In the Create Backup window, provide the required details and enter a key-value pair in the Backup Label field:
For more information on how to populate other fields of Create Backup window, refer Create a backup
-
Click Create.
The label gets applied to the respective backup and the Backup tab displays the applied label under BACKUP LABELS field.
Apply labels while updating backups
You can apply labels to backups by updating the backup details.
To apply labels for backups after they are created:
-
From the home page, Click Cluster icon in the left navigation pane.
-
Click the cluster, that contains the backup for which you want to apply labels.
-
Click Backups tab and then choose NS or VM tab.
-
Go to the required backup, select the Vertical ellipsis and then click Edit:
-
Provide the desired label and click Update.
Portworx Backup applies the specified label and displays the label for the backup.
notePortworx Backup checks the upcoming scheduled backups of namespaces for preset labels, automatically picks them up, and creates a backup without user intervention.
Filter the backups with labels
By default, Portworx Backup web console displays all backups in the Backups tab of the application cluster:
To filter the backups with the preset labels in the web console:
-
Type the name of the backup label either in key:value or key=value format in the Add label field and click Enter.
Backups tab now displays only those backups that match the specified label: