feat(backup): 玩过的世界每天在停服后自动打一个定时恢复点,按服按 owner 保留 7 个、90 天过期

This commit is contained in:
Lemon-miaow committed 2026-09-27 00:02:49 +08:00
1 parent d6e1a6464c
commit 8ef7112dab
29 files changed
+1028 -59

No files matched your search

+3 -1
View File
@@ -2420,7 +2420,7 @@ export interface components {
former_owner?: string;
/** Format: int64 */
size_bytes: number;
/** @description inactive_15d (idle reclaim), manual (on demand) or pre_restore (the safety snapshot in front of a restore). */
/** @description inactive_15d (idle reclaim), manual (on demand), pre_restore (the safety snapshot in front of a restore) or scheduled (the daily restore point felis-api takes of a world played since its last one, once the server stops). */
reason: string;
status: string;
/** Format: date-time */
@@ -5548,6 +5548,8 @@ export interface operations {
then_restore_reason?: "snapshot_failed" | "not_configured" | "server_gone" | "server_started" | "restore_busy";
/** @description The backup the chained restore extracts. */
restore_backup_id?: string;
/** @description A backup felis-api took on its own: the daily restore point of a played world. Omitted when false. */
scheduled?: boolean;
}[];
};
};
+3
View File
@@ -214,6 +214,9 @@ export interface ServerJob {
then_restore?: string;
then_restore_reason?: string;
restore_backup_id?: string;
/** A backup felis-api took on its own: the daily restore point of a world
* played since its last one, taken once the server stops. */
scheduled?: boolean;
}
/** WhitelistImage is one row of GET /images (the create-form dropdown source). */