GameServerManagers / GameServerManagers/LinuxGSM

[Backup] If server saves point to ${HOME} they may not be backed up

Open
#2,117 0 comments 0 reactions 0 assignees View on GitHub
command: backup type: bug
Dominant language
Shell
Stars
4.9k
Forks
864
PR merge metrics
No merged PRs in 30d

Description

As a server admin if my game server is not saved in ${HOME} then some files may not be backed up.

**Describe the bug**
The issue arrises if the game server is not saved in ${HOME}. Backups are taken from ${rootdir} which is the top level directory of linuxgsm where ./gameserver is located. Some game servers choose to place some files in ${HOME}. Should an admin have there server in `/home/lgsm/sdtdserver` for example `/home/lgsm/.local/share/7DaysToDie` does not get backed up.

**To Reproduce**
have the game server in a non-standard directory

**Expected behaviour**
All game server files should be backed up.

**Additional context**
It is recommended that a server admin uses the HOME directory currently however if non-standard directories are used some check that you have a backup of all files.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.