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
Dhananjay Sathe 2018-05-17 21:21:39 +05:30
parent 5d74a92cf1
commit e313d6200a
1 changed files with 6 additions and 0 deletions

View File

@ -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:
``` ```