mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 14:15:59 +03:00
[GH-ISSUE #1899] Problem identifying the previous backup directory #1494
Labels
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#1494
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zian92 on GitHub (May 14, 2018).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1899
Hi,
I am running the latest LGSM version with teamspeak and stumbled over an issue with the backup directory.
I tried to run the backup command on a nightly basis via crontab. Sadly it fails regularly.
/home/ts3server/server/ts3server backup && /home/ts3server/server/ts3server update ; /home/ts3server/server/ts3server startThe problem seems to be in the backup routine. It says:
[ FAIL ] Backup ts3server: Problem identifying the previous backup directory for exclusion.To look into it, I ran the routine manually and it seems to work when started inside the the folder where the executable is but not in any other.
Do I miss something or can this be a problem with an absolute or relative path of the backup folder?
Thanks in advance,
Zian
@UltimateByte commented on GitHub (May 14, 2018):
Hi,
Is there backups already?
Can you please provide minimal info as per https://linuxgsm.com/support/ ?
@zian92 commented on GitHub (May 24, 2018):
Hi,
Here's the output of postdetails: https://hastebin.com/sokunupiwa
There is one backup that i created manually as stated. Since then, the cron didn't create another one.
It schould create one every night, but as shown in the hastebin, it several days old.
Zian
@UltimateByte commented on GitHub (May 24, 2018):
Mhh, I see nothing fancy here.
I can't remember when we fixed some issues with the backup, can you try updating your linuxgsm with the following command?
./ts3server update
Edit:
Proper command is
./ts3server update-functions
my bad
@zian92 commented on GitHub (May 24, 2018):
the server is up to date ( and lgsm as well)
is Lgsm working with relative paths? the execution directory may be differend when run by cron
@zian92 commented on GitHub (May 25, 2018):
I updated lgsm yesterday and don't have a new backup with the nightly run
@UltimateByte commented on GitHub (May 25, 2018):
Please, try running the command manually to isolate any issue and get any relevant output.
Also, is your install using the old config (within your ts3server script) or the new config system (within /lgsm/config-lgsm/ts3server/ts3server.cfg) ?
@zian92 commented on GitHub (Jun 20, 2018):
I am using the new configuration. The following is output of the cronlog:
and here the manuall run from within the server folder with preps (removing lock) :
manual run from within backupfolder (deleted previous backup):
@Claiyc commented on GitHub (Mar 23, 2022):
Is this still relevant?
@Kazz3r24 commented on GitHub (Apr 28, 2022):
I get this error whenever I try to run the backup command. Just finished checking for lgsm update.
Please let me know what information I can provide.
@TheFurnace commented on GitHub (Oct 17, 2022):
I had this issue just now when running "~/arkserver backup" from the directory "/home/arkserver/ServerSettings".
It worked when I ran it from the "/home/arkserver" directory.
@Deanmrd commented on GitHub (Dec 4, 2022):
Hey guys any resolve to this as it still an issues
I have setup a cron to run everyday at 03:00 to backup both clusters of my server.
[ OK ] Backing up arkserver2: Backup starting
[ WARN ] Backing up arkserver2: arkserver2 is currently running (tried with server offline)
[ FAIL ] Backing up arkserver2: Problem identifying the previous backup directory for exclusion.
I am running to arkservers and the is 1 run backup in home/gameuser/gamserver/lgsm/backup, in my arkserver.cfg I have it set
thanks
Dean
@dgibbs64 commented on GitHub (Jun 27, 2025):
Closing this as stale. If still an issue. Please re-raise