Skip to content

vykar-gui snaphshots display way to many snapshots after backups with two repos #31

@goebbe

Description

@goebbe

Testing vykar-gui 0.12.2 with scheduled backups I have the following issue:

With two repositories, after automatic refresh, e.g. at the end of scheduled backups,
way to many snapshots that are already pruned are re-displayed in the snapshots tab of vykar-gui.
Edit: it is not pruned snapshots, see next comment.

Expected view:

  • only the snapshot of the current repo, that remain after pruning, are displayed

Issue:

  • after the scheduled backup, already pruned to many snapshots reappear in the snapshot view.

Refreshing, or switching the repository in the Snapshot view, solves the issue and shows the remaining snapshots, correctly.

  • This is in a setting with two repositories: a local and sftp repo.
  • This happens with scheduled backups AND when executing "Backup All"
  • vykar list displays the correct number of snapshots
  • The issue does not appear with only one repo (e.g. when the NAS repo is commented).

The attached screenshots show what happens. Note that only one new backup has been executed between the screenshots. Due to pruning, the total number of displayed snapshot should not change.

Snapshot view before the scheduled backup:
Image

Snapshot view directly after the next scheduled backup:
Image

These are potentially relevant parts of my config:

repositories:
  - label: "local"
    url: /home/goebbe/.vykar_test_repo
  - label: "NAS"
    url: "sftp://goebbe@NAS/backup/vykar_test_repo"

retention:
  keep_last: 3
  keep_daily: 7
  keep_weekly: 4

schedule:
  enabled: true
  every: "5m"

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