Sebclem / hassio-nextcloud-backup

Hass.io Add-on: Backup your snapshots to Nextcloud
GNU General Public License v3.0
122 stars 16 forks source link

Backups ordered wrong #186

Closed p-rintz closed 1 year ago

p-rintz commented 1 year ago

Describe the bug The backups get ordered wrong starting from version 2022.10.0. Where 2022.10.x will be thought of as "older" than 2022.9.x This leads to the new backups being "cleaned" every day, as the addons thinks they are the oldest backups.

To Reproduce Steps to reproduce the behavior:

  1. Have old backups from pre 2022.10.0.
  2. Upgrade to 2022.10.0 or higher
  3. See that updates are either being deleted as soon as they are created if your maximum amount of backups has been reached
  4. OR have the backups ordered at the very bottom as the "oldest" backups

Expected behavior A clear and concise description of what you expected to happen.

Backups of 2022.10.0 should be recognized as newer than 2022.9.x

System information

Additional context Add any other context about the problem here.

image

Sebclem commented 1 year ago

I'm currently rebuilding this project with VueJs so it can be more easy to maintain. This issue will be resolved with this rebuild.

Sebclem commented 1 year ago

Fixed with last quick fix release 😉