Repository navigation
Conversation
The hourly check exits when another Timeshift instance holds the lock, and an open window holds it for as long as it is open. A snapshot that fell due while the window was open was then put off by an hour, and not taken at all if the backup disk was unplugged before then. A check that is turned away by a window now leaves a mark next to the lock, and the window runs the check when it closes. Nothing changes when no check was skipped.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The hourly check gives up when another instance holds the lock, and an open window holds it the
whole time it's open. So a snapshot that falls due while the window is open waits another hour.
My backup disk is only plugged in now and then, and by then it's often unplugged again.
A check that is turned away by a window now leaves a mark next to the lock, and the window runs
the check when it closes. If no check was skipped nothing changes.
I went with this rather than making the window give up the lock while it's idle, because the
lock also protects the config and running tasks, and I didn't want to change that.
Tested on a scratch disk image with weekly and monthly due. With the window open the check
logged
Scheduled check skipped, it will run when the Timeshift window is closedand left themark. I closed the window at 00:28:38, and the check that started then logged
Last weekly snapshot not found, saved the snapshot in 3 s and tagged it W and M.