Skip to content
This repository was archived by the owner on Jul 10, 2026. It is now read-only.
This repository was archived by the owner on Jul 10, 2026. It is now read-only.

Oldest backups do not get deleted #65

Description

@meemkade

Current Behavior

hi, from what i was told, pyrodactyl is supposed to automatically delete the oldest backup if the backup limit is reached for a scheduled backup. for example, my minecraft server shuts down at 12:55 AM, then a backup occurs at 1:00 AM, then the server starts up fine
the issue here is that if you look at this image
Image
my scheduled backups has hit way over the 20 limit, and has not deleted any of the oldest ones

Expected Behavior

the expected behavior is for when pyrodactyl goes to make a scheduled backup, it will see if the limit is hit, so for example, if we are currently at 20 backups out of a 20 maximum, delete the oldest backup that isnt locked, then once its at 19 out of 20, create the backup

Steps to Reproduce

  1. make a pyrodactyl server of any kind
  2. make a schedule for a backup to be created on whatever basis, just repeating
  3. set a limit, eg 5 backups maximum or 20
  4. wait until scheduled backups occur
  5. watch as scheduled backups slowly get close to the limit you defined, then continue to make backups, even after the limit has been reached, which in my case, is how i have 77 of 20 backups

Panel Version

v5.0.5

Panel Installation Type

  • Official Panel Docker image.
  • native install for Panel.
  • I used a third party installation script or Docker image.

Daemon Version

v1.3.0

Daemon Installation Type

  • Offical Docker image.
  • Native install.
  • Pyrodactyl Elytra
  • Pterodacty Wings
  • I used a third party installation script or Docker image.
  • Daemon Version does not apply to this Bug

Games and/or Eggs Affected

Minecraft (Neoforge), Minecraft (Fabric)

Docker Image

ghcr.io/pterodactyl/yolks:java_21

Error Logs

https://ptero.co/lRcNEr

Second command did not work.
kade@pyrodactyl:/var/www$ tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99
tail: cannot open '/var/www/pterodactyl/storage/logs/laravel-2026-05-14.log' for reading: No such file or directory
no content received
kade@pyrodactyl:/var/www$

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions