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

+7 -2
View File
@@ -2329,8 +2329,11 @@ export interface components {
at: string;
/** @description Bundle file name, felis-db-<UTC stamp>-<label>.tar. */
name: string;
/** @enum {string} */
label: "daily" | "pre-migrate" | "pre-restore" | "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.
* @enum {string}
*/
label: "daily" | "pre-migrate" | "pre-restore" | "offsite" | "manual";
/** Format: int64 */
size_bytes: number;
felis_version?: string;
@@ -2338,6 +2341,8 @@ export interface components {
schema_version?: number;
/** @description Backup directory on the host. */
dir: 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. */
servers_error?: string;
} | null;
/** @description True when there is no record or it is older than max_age_seconds. */
stale: boolean;