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: docs/guides/gettingStarted/faq.mdx
+52-4Lines changed: 52 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,10 +36,11 @@ sidebar_position: 20
36
36
### 源码部署
37
37
38
38
1.**进入已有的 `open-im-server` 目录:**
39
+
39
40
```bash
40
41
cd open-im-server
41
42
```
42
-
43
+
43
44
2.**停止当前服务:**
44
45
```bash
45
46
mage stop
@@ -56,21 +57,67 @@ sidebar_position: 20
56
57
mage start
57
58
```
58
59
60
+
59
61
---
62
+
## 二、 如何迁移数据
60
63
64
+
在使用`docker compose up -d`命令启动`OpenIM`依赖的各个组件之后,`open-im-server`根目录下会生成一个`components`的文件夹,`open-im-server`运行后产生的数据(如用户、群聊、消息等等)都保存在这个文件夹中。如果需要迁移数据,需要先关闭服务和组件:
0 commit comments