aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-04-02 23:23:14 +0200
committerAlex Auvolat <alex@adnab.me>2021-04-02 23:23:14 +0200
commit6c83f66700314d09abf4db0b074403cc5ed62bd7 (patch)
tree796a6da4ce619cf02658e138e2fc68a5238599d2
parent55e4a93bad6ada2f7108dd4fba6100e526636a2d (diff)
downloadgarage-6c83f66700314d09abf4db0b074403cc5ed62bd7.tar.gz
garage-6c83f66700314d09abf4db0b074403cc5ed62bd7.zip
fix command for adding node
-rw-r--r--doc/book/src/cookbook/recovering.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/book/src/cookbook/recovering.md b/doc/book/src/cookbook/recovering.md
index 4472f802..9dc42ec0 100644
--- a/doc/book/src/cookbook/recovering.md
+++ b/doc/book/src/cookbook/recovering.md
@@ -91,7 +91,8 @@ The ID of the lost node should be shown in `garage status` in the section for di
Then, replace the broken node by the new one, using:
```
-garage node add --replace <old_node_id> -c <capacity> -d <datacenter> -t <node_tag> <new_node_id>
+garage node configure --replace <old_node_id> \
+ -c <capacity> -d <datacenter> -t <node_tag> <new_node_id>
```
Garage will then start synchronizing all required data on the new node.