feat(backup): 玩过的世界每天在停服后自动打一个定时恢复点,按服按 owner 保留 7 个、90 天过期
This commit is contained in:
29 files changed
+1028
-59
No files matched your search
@@ -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;
|
||||
}[];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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). */
|
||||
|
||||
Reference in new issue
Block a user