fix(dbbackup): 缺 MinecraftServer 导出时重试、CLI 失败退出、面板与 watchdog 告警,异地快照要求完整

This commit is contained in:
Lemon-miaow committed 2026-09-27 09:38:08 +08:00
1 parent 983727d9c0
commit c1cdef0d6a
21 files changed
+605 -38

No files matched your search

+8 -1
View File
@@ -363,7 +363,8 @@ components:
description: Bundle file name, felis-db-<UTC stamp>-<label>.tar.
label:
type: string
enum: [daily, pre-migrate, pre-restore, manual]
enum: [daily, pre-migrate, pre-restore, offsite, manual]
description: offsite is the bundle `felis offsite sync` takes after copying world archives; a restore records the newest bundle on disk, which may be one.
size_bytes:
type: integer
format: int64
@@ -375,6 +376,12 @@ components:
dir:
type: string
description: Backup directory on the host.
servers_error:
type: string
description: >
Why the bundle lacks the MinecraftServer objects (the cluster did not
answer the export), when it does. A restore from it brings back the
database but no servers.
stale:
type: boolean
description: True when there is no record or it is older than max_age_seconds.