brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aleds...@apache.org
Subject [1/2] brooklyn-docs git commit: Added docs for Cleaning Orphaned State
Date Fri, 22 Jul 2016 23:29:11 GMT
Repository: brooklyn-docs
Updated Branches:
  refs/heads/master 95e2ce5a4 -> adcc10826


Added docs for Cleaning Orphaned State


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/c298c28e
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/c298c28e
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/c298c28e

Branch: refs/heads/master
Commit: c298c28e454c2672aa93a978d78a1430b5c0a8bc
Parents: 8567739
Author: Ivana Yovcheva <ivana.yovcheva@gmail.com>
Authored: Fri Jul 22 18:18:57 2016 +0300
Committer: Ivana Yovcheva <ivana.yovcheva@gmail.com>
Committed: Fri Jul 22 18:18:57 2016 +0300

----------------------------------------------------------------------
 guide/ops/persistence/index.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/c298c28e/guide/ops/persistence/index.md
----------------------------------------------------------------------
diff --git a/guide/ops/persistence/index.md b/guide/ops/persistence/index.md
index 30c3d5f..57996cb 100644
--- a/guide/ops/persistence/index.md
+++ b/guide/ops/persistence/index.md
@@ -170,6 +170,20 @@ The `copy-state` CLI command takes the following arguments:
 * `--transformations` <transformations>
   The local transformations file to be applied to the copy of the data before uploading it.
 
+## CLI Commands for Cleaning Orphaned State
+
+Brooklyn includes a command to clean orphaned state which uses the copy state command
+and removes orphaned locations, enrichers, policies and feeds from the copied state.
+The `clean-orphaned-state` CLI command takes the following arguments:
+
+* `--persistenceDir` <source persistence dir>
+  The directory to read persisted state (or container name if using an object store).
+* `--persistenceLocation` <source persistence location>
+  The location spec for an object store to read persisted state.
+* `--destinationDir` <target persistence dir>
+  The directory to copy persistence data to, with orphaned state removed.
+* `--destinationLocation` <target persistence location>
+  The location spec for an object store to copy data to.
 
 ## Handling Rebind Failures
 


Mime
View raw message