fix:排除资源备份表

This commit is contained in:
waner
2026-05-11 17:45:07 +08:00
parent d1f136f8e9
commit 750c08f202
10 changed files with 340 additions and 29 deletions
+4 -1
View File
@@ -115,8 +115,9 @@ tms:
product-types:
- ENTERPRISE
- INDIRECT
# TMS 库备份排除表。默认跳过角色、授权、会话和审计表,避免恢复时覆盖新机器安全状态。
# TMS 库备份排除表。默认跳过角色、授权、会话、审计和资源任务表,避免恢复时覆盖新机器安全状态或带回旧 RUNNING 任务。
mysqldump-timeout-seconds: 300
restore-db-timeout-seconds: 300
tms-db-excluded-tables:
- tms_role_account
- tms_role_ukey_binding
@@ -125,6 +126,8 @@ tms:
- tms_auth_challenge
- tms_auth_audit_log
- tms_operation_audit_log
- tms_resource_backup_task
- tms_resource_restore_task
allowed-restore-roots:
- /home/tms/config
- /home/cmep4i