You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/v3.4/how-to-migrate.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,19 +42,19 @@ The following steps show how to migrate your etcd data stored from v2store to v3
42
42
43
43
### Migration Process
44
44
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
46
46
47
47
```sh
48
48
export ETCDCTL_API=2
49
49
etcdctl --endpoints=http://$ENDPOINTset foo bar
50
50
etcdctl --endpoints=http://$ENDPOINT --output="json" get foo
51
51
```
52
52
53
-
- Step 2: Stop each etcd node (one at a time)
53
+
####Step 2: Stop each etcd node (one at a time)
54
54
55
55
Before running the migration, stop your etcd node to ensure data consistency.
56
56
57
-
- Step 3: Run the migration tool to convert v2store to v3store
57
+
####Step 3: Run the migration tool to convert v2store to v3store
58
58
59
59
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.
0 commit comments