Closed ghost closed 3 years ago
Okay, so I fixed it. Obviously the error lies in 12-hour based systems.
Changed my locale to a 24-hour based one:
localectl set-locale LC_TIME=en_GB.UTF-8
was sure if I should force... time systems...
Thank you for the info...
Issue with Backup feature in menu.sh The issue: The creating of the .tgz file isn't being done correctly.
Output of backup server command:
Probably because of the $date thingy, it's either giving me an error like:
or
The
/home/steam/backup
is consisting of files with no extensions, like so:Reproducing: 1) Have a 12-hour AM/PM based locale, e.g.
LC_TIME=en_US.UTF-8
2) Open "menu.sh" as sudo 3) ChooseServer Admin Tools
4) ChooseBackup World
5) Gives an error like the one described above 6) Backup files have no extension(s), like the expected .tgzOther info: OS: Ubuntu 20.04.2 LTS Running:
date
shows:Wed 24 Feb 2021 12:17:44 AM CET
date +%Y-%m-%d-%X
shows:2021-02-24-12:19:05 AM