[Feature]: LGSM command for restoring backups
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 ./gameserver 命令入口点开始,跟踪现有的 backup 命令和备份布局。定义交互式、最新备份和指定名称的恢复应如何选择归档、替换安装并处理 LGSM 本身。完成标准是三种调用形式都能恢复所选备份,且不会留下备份中不存在的文件。
由索引模型根据 Issue 内容生成。
描述
User story
As a server admin, I want LinuxGSM to handle backup restoration for me to minimize the downtime and work needed when restoring backups.
Game
All
Linux distro
Other
Command
command: backup
Further information
The command would use automatically or manually created backups to quickly restore the gameserver to a specific point in time by overwriting the backed up files. To avoid problems caused by newly created files that don't exist in a backup (such as new saves or player profiles), the entire installation should be deleted and replaced with the contents of the backup.
Restore a backup (prompt the user by listing all existing backups):
./gameserver restore-backup
Restore the latest backup:
./gameserver restore-backup latest
Restore a specific backup:
./gameserver restore-backup "gameserver-2024-02-05-040000.tar.gz"
Possible Problems:
- Replacing LGSM from within LGSM may prove difficult.
- Skipping the restoration of LGSM however could lead to incompatibilities between gameserver and LGSM
A future implementation of this/another command could also be useful for automatically applying manually created "backups" that have been prepared to introduce changes to game configurations, maps, mods or rules by overwriting only certain files. However, this will require a completely new backup procedure, as regular restoring of a backup will need to deal with unwanted files not included in the backup as listed above.
Restore a manually prepared "backup":
./gameserver restore-backup "special-event.tar.gz"
- 主要语言
- Shell
- 星标
- 4.9k
- 派生
- 866
- 平均合并
- 17 小时 58 分钟
- 30 天内合并 PR
- 100
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
GameServerManagers/LinuxGSM 的其他 Issue
-
command: update-lgsm distro: Debian engine: source2 game: Counter-Strike 2 regression: yes reproducible: always severity: low type: bug
难度 2/5 1-3 小时 新手友好度 84/100
GameServerManagers/LinuxGSM#5242 ·
维护者通常 1 天内回复
-
distro: Debian distro: Ubuntu engine: spark game: Natural Selection 2 priority: high scope: single game type: feature
难度 4/5 3-5 天 新手友好度 45/100
GameServerManagers/LinuxGSM#5241 ·
维护者通常 1 天内回复
-
command: send distro: Ubuntu engine: spark game: Natural Selection 2 priority: high scope: single game type: feature
难度 4/5 3-5 天 新手友好度 48/100
GameServerManagers/LinuxGSM#5240 ·
维护者通常 1 天内回复
-
command: monitor distro: Ubuntu engine: spark game: Natural Selection 2 info: query reproducible: unable severity: critical type: bug
难度 3/5 1-2 天 新手友好度 35/100
GameServerManagers/LinuxGSM#5238 ·
维护者通常 1 天内回复
-
engine: null game: Teamspeak 3
难度 3/5 半天 新手友好度 66/100
GameServerManagers/LinuxGSM#5237 ·
维护者通常 1 天内回复
查看 GameServerManagers/LinuxGSM 的全部 Issue
相似的 Issue
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 84/100
varnish/helm-varnish#173 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
-
📦 Update Request
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 3 天内回复
-
good first issue help wanted testing
难度 1/5 1 小时以内 新手友好度 78/100