You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 16, 2022. It is now read-only.
Describe the bug
When I set to keep 5 daily and 5 weekly snapshots, then I want to be able to return to any of the 4 last days when the computer was used. But timeshift deletes all daily backups older than 5 days, so after not using the computer for a few days, there may be no daily backup left (except for the current state). What I described so far is a duplicate of #272, but there's another problem: Once per week two backups are needlessly made, one daily and one weekly backup. That's wasteful as they're pretty much the same. The redundant one mayn't take much space due to hardlinking, but there's still some disk and CPU overhead.
To Reproduce
Steps to reproduce the behavior:
Set up 5 daily and 5 weekly snapshots.
Use the computer for one week.
Observe that there are two backups having the same date.
Don't use the computer for another week.
Switch it on and wait till a daily backup gets made.
Observe that all but the current daily backup are gone.
Expected behavior
The boot snapshots are special and the following does not apply to them. Only run a single snapshot per day, even when both the daily, weekly and monthly snapshots are to be scheduled on the same day.
When there are N daily snapshots set up, make sure that the last N snapshots are kept. Similarly, when there are N weekly snapshots, make sure that there's at least one snapshot kept for each of the last N weeks. When this is not possible (as the snapshot wasn't made or was manually deleted or whatever), keep an older snapshot instead. Similarly for monthly backups.
I guess, my algorithm description is not very clear, but I hope you get what I mean. I can provide an exact algorithm when someone cares.
Describe the bug
When I set to keep 5 daily and 5 weekly snapshots, then I want to be able to return to any of the 4 last days when the computer was used. But timeshift deletes all daily backups older than 5 days, so after not using the computer for a few days, there may be no daily backup left (except for the current state). What I described so far is a duplicate of #272, but there's another problem: Once per week two backups are needlessly made, one daily and one weekly backup. That's wasteful as they're pretty much the same. The redundant one mayn't take much space due to hardlinking, but there's still some disk and CPU overhead.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The boot snapshots are special and the following does not apply to them. Only run a single snapshot per day, even when both the daily, weekly and monthly snapshots are to be scheduled on the same day.
When there are N daily snapshots set up, make sure that the last N snapshots are kept. Similarly, when there are N weekly snapshots, make sure that there's at least one snapshot kept for each of the last N weeks. When this is not possible (as the snapshot wasn't made or was manually deleted or whatever), keep an older snapshot instead. Similarly for monthly backups.
I guess, my algorithm description is not very clear, but I hope you get what I mean. I can provide an exact algorithm when someone cares.
System:
The text was updated successfully, but these errors were encountered: