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

+6 -1
View File
@@ -592,7 +592,7 @@ components:
size_bytes: { type: integer, format: int64 }
reason:
type: string
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).
status: { type: string }
created_at: { type: string, format: date-time }
expires_at: { type: string, format: date-time }
@@ -3695,6 +3695,11 @@ paths:
restore_backup_id:
type: string
description: The backup the chained restore extracts.
scheduled:
type: boolean
description: >-
A backup felis-api took on its own: the daily restore
point of a played world. Omitted when false.
'401':
$ref: '#/components/responses/Unauthorized'
'403':