Add documentation on how to use a selector negation
This will help users use the `--selector` flag to selectively exclude objects from being backed up by ark workaround for #404 until dedicated flags are implemented Signed-off-by: Dhananjay Sathe <dhanajaysathe@gmail.com>pull/501/head
parent
5d74a92cf1
commit
e313d6200a
|
@ -83,6 +83,12 @@ Make sure that you install somewhere in your `$PATH`.
|
||||||
ark backup create nginx-backup --selector app=nginx
|
ark backup create nginx-backup --selector app=nginx
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Alternatively if you want to backup all objects *except* those matching the label `backup=ignore` :
|
||||||
|
|
||||||
|
```
|
||||||
|
ark backup create nginx-backup --selector '(backup notin ignore)'
|
||||||
|
```
|
||||||
|
|
||||||
1. Simulate a disaster:
|
1. Simulate a disaster:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue