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

+5 -3
View File
@@ -1,14 +1,15 @@
{
"title": "Backups & restore",
"subtitle": "A backup is saved automatically when a world is archived after long inactivity. You can use these backups to restore the world — the server must be stopped first.",
"subtitle": "A world that was played is backed up automatically once a day after its server stops, and again before it is archived after long inactivity. You can use these backups to restore the world — the server must be stopped first.",
"back_to_console": "Back to console",
"not_yours_title": "No permission to access backups",
"not_yours_body": "Only the owner or an admin can view and restore this server's backups.",
"latest_title": "Latest backup",
"history_note": "Backups can be restored until they expire, then they are cleaned up automatically. Each server keeps only its most recent manual backups (older ones are removed once a new one finishes) and its last 3 pre-restore snapshots.",
"history_note": "Backups can be restored until they expire, then they are cleaned up automatically. Each server keeps only its most recent manual backups and its most recent scheduled backups (older ones of the same kind are removed once a new one finishes), and its last 3 pre-restore snapshots.",
"reason_inactive": "Idle archive",
"reason_manual": "Manual backup",
"reason_pre_restore": "Pre-restore snapshot",
"reason_scheduled": "Scheduled backup",
"reason_label": "Reason: {{reason}}",
"backup_now": "Back up now",
"backup_in_progress": "Starting backup…",
@@ -18,12 +19,13 @@
"expired": "Expired",
"former_owner": "Former owner: {{owner}}",
"empty_title": "No backups for this server",
"empty_hint": "A backup is saved when a world is archived after long inactivity — or create one now with “Back up now”.",
"empty_hint": "A scheduled backup is saved once the server has run and stopped — or create one now with “Back up now”.",
"jobs_title": "Recent operations",
"jobs_empty": "No recent backup or restore operations.",
"job_backup": "Backup",
"job_restore": "Restore",
"job_pre_restore": "Pre-restore snapshot",
"job_scheduled": "Scheduled backup",
"job_running": "Running",
"job_succeeded": "Succeeded",
"job_failed": "Failed",
+5 -3
View File
@@ -1,14 +1,15 @@
{
"title": "备份与恢复",
"subtitle": "服务器长期闲置并被自动回收前,系统会自动创建备份。可以使用备份随时恢复世界,恢复前需要先停止服务器。",
"subtitle": "玩过的世界会在服务器停止后每天自动备份一次,长期闲置被自动回收前也会自动备份。可以使用备份随时恢复世界,恢复前需要先停止服务器。",
"back_to_console": "返回控制台",
"not_yours_title": "无权访问备份",
"not_yours_body": "只有所有者或管理员才能查看并恢复该服务器的备份。",
"latest_title": "最新备份",
"history_note": "历史备份在过期前均可用于恢复,到期后自动清理。手动备份每台服务器只保留最近几份,新备份完成后会自动删除更早的手动备份;恢复前快照保留最近 3 份。",
"history_note": "历史备份在过期前均可用于恢复,到期后自动清理。手动备份和定时备份每台服务器各只保留最近几份,新备份完成后会自动删除更早的同类备份;恢复前快照保留最近 3 份。",
"reason_inactive": "闲置自动回收",
"reason_manual": "手动备份",
"reason_pre_restore": "恢复前快照",
"reason_scheduled": "定时备份",
"reason_label": "原因:{{reason}}",
"backup_now": "立即备份",
"backup_in_progress": "正在启动备份……",
@@ -18,12 +19,13 @@
"expired": "已过期",
"former_owner": "原世界所有者:{{owner}}",
"empty_title": "暂无备份",
"empty_hint": "服务器长期闲置被自动回收时会生成备份,也可以点“立即备份”马上创建。",
"empty_hint": "服务器运行过并停止后会自动生成定时备份,也可以点“立即备份”马上创建。",
"jobs_title": "最近操作",
"jobs_empty": "暂无备份或恢复操作记录。",
"job_backup": "备份",
"job_restore": "恢复",
"job_pre_restore": "恢复前快照",
"job_scheduled": "定时备份",
"job_running": "进行中",
"job_succeeded": "成功",
"job_failed": "失败",