[Feature]: LGSM command for restoring backups
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu tại điểm vào của lệnh ./gameserver và lần theo lệnh backup hiện có cũng như bố cục bản sao lưu. Xác định cách các thao tác khôi phục tương tác, khôi phục bản mới nhất và khôi phục theo tên sẽ chọn các gói lưu trữ, thay thế bản cài đặt và xử lý chính LGSM. Hoàn tất khi cả ba dạng gọi lệnh đều khôi phục bản sao lưu đã chọn mà không để lại các tệp không tồn tại trong bản sao lưu đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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"
- Ngôn ngữ chính
- Shell
- Star
- 4.9k
- Fork
- 866
- Merge trung bình
- 17 giờ 58 phút
- Pull request đã merge (30 ngày)
- 100
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GameServerManagers/LinuxGSM
-
command: update-lgsm distro: Debian engine: source2 game: Counter-Strike 2 regression: yes reproducible: always severity: low type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
GameServerManagers/LinuxGSM#5242 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
distro: Debian distro: Ubuntu engine: spark game: Natural Selection 2 priority: high scope: single game type: feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
GameServerManagers/LinuxGSM#5241 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
command: send distro: Ubuntu engine: spark game: Natural Selection 2 priority: high scope: single game type: feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
GameServerManagers/LinuxGSM#5240 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
command: monitor distro: Ubuntu engine: spark game: Natural Selection 2 info: query reproducible: unable severity: critical type: bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
GameServerManagers/LinuxGSM#5238 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
engine: null game: Teamspeak 3
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 66/100
GameServerManagers/LinuxGSM#5237 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của GameServerManagers/LinuxGSM
Issue tương tự
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
varnish/helm-varnish#173 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bump version [nginx2root]Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Update: sanitize-htmlĐang mở📦 Update Request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
cdnjs/packages#2225 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
good first issue help wanted testing
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100