mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-28 10:45:44 +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>
12 lines
559 B
Markdown
12 lines
559 B
Markdown
# 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:
|
|
|
|
```bash
|
|
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.
|