宝塔后台同步
用于把插件、下载页、system-updates 与更新记录同步到宝塔部署环境。
原则
- 小修复只同步必要文件,不重复上传整个站点。
- 插件版本、下载页条目与更新历史保持一致。
- 历史下载项保留,不覆盖旧版本。
- 部署前生成文件清单和备份。
推荐覆盖包结构
patch/
├── wwwroot/ # 需要覆盖的网站文件
├── plugins/ # 新增/更新插件包
├── installers/ # 安装器
├── system-updates/ # 系统更新描述
└── README.txt # 覆盖路径与验证步骤BaoTa Backend Sync
BaoTa Backend Sync is part of the Securex NVR plugin and platform development documentation.
Development rules
- Follow the Securex UI, sidebar, and internationalization conventions.
- Install and uninstall must be automated; users should not need to run host scripts manually.
- Updates must be traceable and preserve version history.
- Risky operations require confirmation, clear errors, and rollback where practical.
Release testing
Test clean install, upgrade, uninstall, reinstall, all supported languages, mobile layout, and service-failure states before publishing.
Sincronización con BaoTa
Sincronización con BaoTa forma parte de la documentación de desarrollo de plugins y plataforma Securex NVR.
Reglas de desarrollo
- Siga las normas de UI, barra lateral e internacionalización de Securex.
- Instalación y desinstalación deben ser automáticas.
- Las actualizaciones deben ser trazables y conservar historial.
- Operaciones de riesgo requieren confirmación, errores claros y reversión cuando sea posible.
Pruebas
Pruebe instalación limpia, actualización, desinstalación, reinstalación, idiomas, diseño móvil y fallos de servicio antes de publicar.
