aboutsummaryrefslogtreecommitdiff
path: root/doc/book/src/cookbook
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-04-02 23:23:14 +0200
committerAlex Auvolat <alex@adnab.me>2021-04-27 16:37:08 +0200
commit9589d10165c997cac07a0cbc00de4311f4b369de (patch)
tree796a6da4ce619cf02658e138e2fc68a5238599d2 /doc/book/src/cookbook
parentf9d77b6cd9e447af05650945d620bced0bda5c3c (diff)
downloadgarage-9589d10165c997cac07a0cbc00de4311f4b369de.tar.gz
garage-9589d10165c997cac07a0cbc00de4311f4b369de.zip
fix command for adding node
Diffstat (limited to 'doc/book/src/cookbook')
-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.