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>
This commit is contained in:
Dhananjay Sathe
2018-05-17 21:21:39 +05:30
parent 5d74a92cf1
commit e313d6200a
+6
View File
@@ -83,6 +83,12 @@ Make sure that you install somewhere in your `$PATH`.
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:
```