备份与恢复
备份应覆盖配置、插件配置、必要的数据库/元数据和版本信息。录像媒体体积很大,通常应通过存储级备份或 NAS 冗余单独处理。
核心说明
本页内容按该功能本身整理,不再使用通用占位说明。以下项目均与当前主题直接相关。
备份范围
至少保存 config.yml、插件目录中的配置、系统版本清单和自定义模型/标签文件。
恢复顺序
先恢复系统和 Securex 基础组件,再恢复配置,最后恢复插件;这样更容易发现哪一步引入错误。
验证
恢复后检查配置校验、摄像头、录像、检测器和插件状态,不要只以“网页能打开”作为成功标准。
敏感信息
分享备份前应移除密码、API Key、MQTT 凭据和摄像头 RTSP 密码。
验证与排查
- 修改或执行前记录当前版本/配置,以便回退。
- 完成后同时检查 UI 状态和后端日志,不只看一个成功提示。
- 如果问题只在单个摄像头/插件出现,先做最小范围对比,避免全局改动。
Backup and Restore
Backups should cover configuration, plugin settings, critical metadata/database and version information. Large recording media is usually protected separately at the storage layer.
Core behavior
This page is topic-specific rather than a generic placeholder.
Backup scope
At minimum save config.yml, plugin settings, version inventory and custom model/label files.
Restore order
Restore base system/components first, then config, then plugins.
Verification
Validate config, cameras, recording, detectors and plugins after restore.
Secrets
Remove passwords, API keys and camera/MQTT credentials before sharing backups.
Verification and troubleshooting
- Record the current version/config before changes so rollback is possible.
- Verify both UI state and backend logs after the change.
- If only one camera/plugin is affected, isolate it before making global changes.
Copia de seguridad y restauración
Los respaldos deben incluir configuración, plugins, metadatos/base de datos y versiones. Las grabaciones suelen protegerse aparte en el almacenamiento.
Comportamiento
Esta página contiene contenido específico del tema, no un texto genérico.
Alcance
Guarde config.yml, plugins, versiones y modelos/etiquetas personalizados.
Orden de restauración
Restaure sistema, luego configuración y por último plugins.
Verificación
Compruebe configuración, cámaras, grabación, detectores y plugins.
Secretos
Elimine contraseñas y claves antes de compartir respaldos.
Verificación y diagnóstico
- Registre versión/configuración antes de cambiar para poder revertir.
- Compruebe UI y logs del backend después.
- Si afecta a una sola cámara/plugin, aíslelo antes de cambios globales.
