Skip to content

Commit bda7af0

Browse files
committed
patch
1 parent 9938faa commit bda7af0

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -229,15 +229,7 @@ wget http://192.168.1.131:9999/appwrite_appwrite-redis.tar
229229
wget http://192.168.1.131:9999/appwrite_appwrite-uploads.tar
230230
```
231231

232-
6. Initialize appwrite volumes by starting with docker-compose on another machine and immediately stoping it
233-
234-
```bash
235-
docker-compose up
236-
```
237-
238-
wait for docker images download and <kbd>Ctrl</kbd> + <kbd>C</kbd> to shutdown appwrite instance
239-
240-
7. Import volumes data
232+
6. Import volumes data
241233

242234
```bash
243235
docker-volume-snapshot restore appwrite_appwrite-builds.tar appwrite_appwrite-builds
@@ -251,15 +243,15 @@ docker-volume-snapshot restore appwrite_appwrite-redis.tar appwrite_appwrite-red
251243
docker-volume-snapshot restore appwrite_appwrite-uploads.tar appwrite_appwrite-uploads
252244
```
253245

254-
8. Start appwrite again
246+
7. Start appwrite
255247

256248
```bash
257249
docker-compose up -d --remove-orphans --renew-anon-volumes
258250
```
259251

260-
9. [Optional] Follow the appwrite [upgrade guide](https://appwrite.io/docs/advanced/self-hosting/update)
252+
8. [Optional] Follow the appwrite [upgrade guide](https://appwrite.io/docs/advanced/self-hosting/update)
261253

262-
> All those commands should be runned while previous appwrite installation still running!
254+
> When migrating, on clean machine restore volumes first, then run `docker-compose up`, the appwrite should not be started the first time. If It was, there is a cleanup script which remove everything from the docker on machine. When updating command should be executed while previous appwrite installation still running, dont stop it!
263255
264256
```bash
265257
# parent_directory <= you run the command in this directory

0 commit comments

Comments
 (0)