timeshift icon indicating copy to clipboard operation
timeshift copied to clipboard

Check for existing snapshots when another schedule creates a snapshot on the same day!

Open dataprolet opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. Timeshift can take hourly, daily, weekly and monthly snapshots at no specific time, but checks hourly for a due schedule. This leads to multiple snapshots being taken, when two schedules overlap. For example at a given day a weekly snapshot is created, but also a daily. Since Timeshift uses rsync and hard-links no additional storage is taken, but it's still sub-optimal.

Describe the solution you'd like I'd like Timeshift to add the feature of checking if another schedule already created a snapshot and then don't create a new one. BackInTime works that way and using the same intervals of creating snapshots and deleting old ones, I only have 9 recent snapshots, whereas Timeshift created 18.

Describe alternatives you've considered The optimal solution would be a toggle in the schedule options, whether schedules take snapshots independently from each other leading to duplicates or whether I'd like Timeshift to check, if a snapshot has already created by another schedule.

dataprolet avatar Jan 12 '22 11:01 dataprolet

How are you setting up multiple schedules for one running instance of Timeshift? Or by "two schedules," do you mean, say, both Monthly and Weekly snapshots?

rodjacksonx avatar May 09 '22 07:05 rodjacksonx

I mean the latter.

dataprolet avatar May 09 '22 12:05 dataprolet