Skip to content

Commit 9e08cd3

Browse files
committed
hide
1 parent e08a12a commit 9e08cd3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/docs/Hydro/system/database.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,6 @@ title: 数据库备份和恢复
4343
## 手动恢复备份
4444

4545
使用 MongoDB 自带的 [mongorestore](https://docs.mongodb.com/database-tools/mongorestore/) 导入备份的数据库文件,并还原 `/data/file` 目录文件。
46-
如果只是想不同机器之间迁移部署,只需要在**停止 Hydro 和 MongoDB 服务后**将相关文件夹(通常为 `/data/db``/data/file``/root/.hydro/config.json` )复制即可。
46+
47+
{/* It actually works, but most people are not doing it right, so it's better to hide this instruction */}
48+
{/* 如果只是想不同机器之间迁移部署,只需要在**停止 Hydro 和 MongoDB 服务后**将相关文件夹(通常为 `/data/db` 与 `/data/file` 与 `/root/.hydro/config.json` )复制即可。 */}

0 commit comments

Comments
 (0)