mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-02-11 14:21:19 +00:00
* Remove ref to exclude label in v1.1.0 Signed-off-by: Jess Belliveau <jbelliveau@apptio.com> * Correct wording to better describe label use scenario Signed-off-by: Jess Belliveau <jbelliveau@apptio.com>
559 B
559 B
Backup Reference
Exclude Specific Items from Backup
It is possible to exclude individual items from being backed up, even if they match the resource/namespace/label selectors defined in the backup spec. To do this, label the item as follows:
kubectl label -n <ITEM_NAMESPACE> <RESOURCE>/<NAME> velero.io/exclude-from-backup=true
Please note, in v1.1.0 the label will not be honoured for "additional items" eg; PVCs/PVs that are in use by a pod that is being backed up. If this scenario is required, consider upgrading to v1.2.0 or later.