dy-dashboard/vault/知识库/工作指南/训练记录/2026-07-31-生产数据同步测试环境.md
2026-10-28 11:14:17 +08:00

8 lines
651 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 1. 主题
**旭东 → OpenClaw:**
> 现在需要你把生产环境里面的数据库数据打包一下,更新部署到测试环境里面,不要更新功能代码,只是要生产环境的数据
**OpenClaw 响应:**
从生产环境(11.79:3307)导出全量数据(99MB),排除生产独有的3张备份表后成功导入测试环境(8.186:3306)。共22张业务表全部精确计数一致,涵盖 pending_orders(207条)、packaging_orders(679条)、products(9277条)、inventory_detail(158万条)等核心表。完成后重启 dy-dashboard 服务,HTTP 200 正常。备份文件保存在 backups/ 目录。