From e313d6200a4c7887253c3671b21d086d80a8fa55 Mon Sep 17 00:00:00 2001 From: Dhananjay Sathe Date: Thu, 17 May 2018 21:21:39 +0530 Subject: [PATCH] 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 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index c8302f452..4f5d3a892 100644 --- a/README.md +++ b/README.md @@ -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: ```