Bug 496690 - Backups missing from File Digger
Summary: Backups missing from File Digger
Status: RESOLVED INTENTIONAL
Alias: None
Product: kup
Classification: Applications
Component: general (show other bugs)
Version: 0.10.0
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Simon Persson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-26 00:15 UTC by Daniel M
Modified: 2024-12-17 17:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
File Digger missing backups (15.28 KB, image/png)
2024-11-26 00:15 UTC, Daniel M
Details
Purger with backups (12.18 KB, image/png)
2024-11-26 00:16 UTC, Daniel M
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel M 2024-11-26 00:15:18 UTC
Created attachment 176123 [details]
File Digger missing backups

SUMMARY
When attempting to open an existing/previous backup/save, only the most recent backup is available.

STEPS TO REPRODUCE
1. Create a versioned Kup backup plan
2. Save [a] new backup
3. Save [a] new backup again
4. Go to System Settings, Backups, and click Open and restore from existing backups
5. Click your backup destination and OK

OBSERVED RESULT
Only the most recent backup is listed.

EXPECTED RESULT
All backups should be listed.

SOFTWARE/OS VERSIONS
Operating System: Void 
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.11.10_1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics
Memory: 58.6 GiB of RAM
Graphics Processor: AMD Radeon 780M

ADDITIONAL INFORMATION
The backups are listed when Prune old backups is clicked, but not with Open and restore from existing backups/Fie Digger; see attached.

Here is the related output from a bup ls:
$ bup -d void-packages-kup ls -l kup
drwxr-xr-x root/root             0 2024-10-29 11:29 2024-11-25-154230
drwxr-xr-x root/root             0 2024-10-29 11:29 2024-11-25-155921
drwxr-xr-x root/root             0 2024-10-29 11:29 2024-11-25-160215
lrwxr-xr-x ?/?                  17 1969-12-31 17:00 latest -> 2024-11-25-160215
Comment 1 Daniel M 2024-11-26 00:16:39 UTC
Created attachment 176124 [details]
Purger with backups
Comment 2 Simon Persson 2024-11-30 17:19:54 UTC
In File Digger, if you look at the versions available for a specific file or folder you will only see unique versions listed. So if you did not change the file between saves, you will only see one version there. This logic was added to assist you when trying to find a specific version of a file, you don't need to open and look at so many versions only to find that many are actually identical.

Purger has no such logic, it only lists the top level save times.

Does that explain what you see?
Comment 3 Daniel M 2024-12-02 16:35:04 UTC
Thank you for your work here Simon. Your explanation is excellent and reflects what I'm seeing. While this feature caught me off guard, it is beneficial and this non-bug should be closed.
Comment 4 Bug Janitor Service 2024-12-17 03:46:46 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!