Skip to content

Details Command Not Showing Accurate Backups Information #3307

@PoppaShell

Description

@PoppaShell

User Story

When using the Details command, it gives a Section of Information titled "Backups". Under this Section, I am seeing inaccurate information for "Latest Backup" as far as the date and file specified.

Basic info

  • Distro: [Ubuntu 20.04.2 LTS]
  • Game: [Valheim]
  • Command: [Details]
  • LinuxGSM version: [v21.1.3]

Further Information

As can be seen in my attached screenshot, it shows the following:

Backups

No. of backups: 4
Latest backup:
date: Thu 25 Feb 2021 04:04:07 PM UTC (1 day ago)
file: /home/vhserver/lgsm/backup/vhserver-2021-02-25-160202.tar.gz
size: 785M

But if you look at the output from an LS on the backups directory, you can see the following backups, which is more recent than what shows above.

vhserver-2021-02-25-160202.tar.gz
vhserver-2021-02-26-000201.tar.gz
vhserver-2021-02-26-080202.tar.gz
vhserver-2021-02-26-160201.tar.gz

To Reproduce

Steps to reproduce the behaviour:

  1. Run "./vhserver details" from the game server directory
  2. Observe the "Latest backup" date & file details under the "Backups" section
  3. Run "ls /home/vhserver/lgsm/backup/"
  4. Compare the latest backup file from the ls output and compare to the "Latest backup" information from the details command output

Expected behaviour

The expected behaviour is for the "Latest backup" information from the details command to be accurate.

Screenshot(s)

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions