|
@@ -15,7 +15,8 @@ etcd will detect 0.4.x data dir and update the data automatically (while leaving
|
|
|
|
|
|
|
|
The tool can be run via:
|
|
The tool can be run via:
|
|
|
```sh
|
|
```sh
|
|
|
-./bin/etcd-migrate --data-dir=<PATH TO YOUR DATA>
|
|
|
|
|
|
|
+./go build
|
|
|
|
|
+./etcd-migrate --data-dir=<PATH TO YOUR DATA>
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
It should autodetect everything and convert the data-dir to be 2.0 compatible. It does not remove the 0.4.x data, and is safe to convert multiple times; the 2.0 data will be overwritten. Recovering the disk space once everything is settled is covered later in the document.
|
|
It should autodetect everything and convert the data-dir to be 2.0 compatible. It does not remove the 0.4.x data, and is safe to convert multiple times; the 2.0 data will be overwritten. Recovering the disk space once everything is settled is covered later in the document.
|
|
@@ -44,4 +45,4 @@ If the conversion has completed, the entire cluster is running on something 2.0-
|
|
|
rm -ri snapshot conf log
|
|
rm -ri snapshot conf log
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-It will ask before every deletion, but these are the 0.4.x files and will not affect the working 2.0 data.
|
|
|
|
|
|
|
+It will ask before every deletion, but these are the 0.4.x files and will not affect the working 2.0 data.
|