aboutsummaryrefslogtreecommitdiff
path: root/src/zen/zen.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-11-06 11:39:28 +0100
committerGitHub <[email protected]>2023-11-06 11:39:28 +0100
commitb938d6bca155ba3cffa6950788109d4d4c8d290a (patch)
tree3ba0ddb148c2a8caf60ad1b30f4bf1706a58a665 /src/zen/zen.cpp
parentmultithread cache bucket (#508) (diff)
downloadarchived-zen-b938d6bca155ba3cffa6950788109d4d4c8d290a.tar.xz
archived-zen-b938d6bca155ba3cffa6950788109d4d4c8d290a.zip
zen copy-state command to copy a zenserver data directory without the bulk data (#510)
* zen copy-state command to copy a zenserver data directory without the bulk data
Diffstat (limited to 'src/zen/zen.cpp')
-rw-r--r--src/zen/zen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zen/zen.cpp b/src/zen/zen.cpp
index cfed591a8..241dbb599 100644
--- a/src/zen/zen.cpp
+++ b/src/zen/zen.cpp
@@ -200,6 +200,7 @@ main(int argc, char** argv)
CacheInfoCommand CacheInfoCmd;
CacheStatsCommand CacheStatsCmd;
CopyCommand CopyCmd;
+ CopyStateCommand CopyStateCmd;
CreateOplogCommand CreateOplogCmd;
DeleteOplogCommand DeleteOplogCmd;
CreateProjectCommand CreateProjectCmd;
@@ -252,6 +253,7 @@ main(int argc, char** argv)
{"cache-info", &CacheInfoCmd, "Info on cache, namespace or bucket"},
{"cache-stats", &CacheStatsCmd, "Stats on cache"},
{"copy", &CopyCmd, "Copy file(s)"},
+ {"copy-state", &CopyStateCmd, "Copy zen server disk state"},
{"dedup", &DedupCmd, "Dedup files"},
{"down", &DownCmd, "Bring zen server down"},
{"drop", &DropCmd, "Drop cache namespace or bucket"},