Skip to content

Commit 1f16bdc

Browse files
committed
fix: Fixed TOC headers
1 parent 5ef519f commit 1f16bdc

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

content/en/docs/v3.4/how-to-migrate.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,19 @@ The following steps show how to migrate your etcd data stored from v2store to v3
4242

4343
### Migration Process
4444

45-
- Step 1: Write a test key into the v2store and confirm that key exists
45+
#### Step 1: Write a test key into the v2store and confirm that key exists
4646

4747
```sh
4848
export ETCDCTL_API=2
4949
etcdctl --endpoints=http://$ENDPOINT set foo bar
5050
etcdctl --endpoints=http://$ENDPOINT --output="json" get foo
5151
```
5252

53-
- Step 2: Stop each etcd node (one at a time)
53+
#### Step 2: Stop each etcd node (one at a time)
5454

5555
Before running the migration, stop your etcd node to ensure data consistency.
5656

57-
- Step 3: Run the migration tool to convert v2store to v3store
57+
#### Step 3: Run the migration tool to convert v2store to v3store
5858

5959
Switch to API v3 and use `etcdctl migrate` command to transform the v2store data into v3store. Please review the deprecation alert on top of the page, you must use etcdctl v3.4 or earlier to be able to perform this command.
6060

@@ -65,11 +65,11 @@ etcdctl --endpoints=http://$ENDPOINT migrate \
6565
--wal-dir="default.etcd/member/wal"
6666
```
6767

68-
- Step 4: Restart etcd node after migrate
68+
#### Step 4: Restart etcd node after migrate
6969

7070
Repeat steps 2–4 for each etcd node one at a time in your cluster.
7171

72-
- Step 5: Confirm the key is now stored in v3store
72+
#### Step 5: Confirm the key is now stored in v3store
7373

7474
Use the API v3 to check:
7575

@@ -79,7 +79,7 @@ etcdctl --endpoints=$ENDPOINTS get /foo
7979

8080
If the migration succeeded, you should see the value previously stored in v2store.
8181

82-
Summary full process:
82+
#### Summary full process:
8383

8484
```shell
8585
# Write key in etcd version 2store
@@ -100,7 +100,3 @@ etcdctl --endpoints=$ENDPOINT migrate --data-dir="default.etcd" --wal-dir="defau
100100
# Confirm the key was migrated into v3store
101101
etcdctl --endpoints=$ENDPOINTS get /foo
102102
```
103-
104-
## Visual guide for reference
105-
106-
![12_etcdctl_migrate_2016061602](https://storage.googleapis.com/etcd/demo/12_etcdctl_migrate_2016061602.gif)

0 commit comments

Comments
 (0)