I find the retention policies in Kopia to be a bit confusing and lacking adequate documentation.
Let’s take Time Machine as an example:
Time Machine saves hourly backups for the past 24 hours, daily backups for the past month, and weekly backups for everything older than a month until the volume runs out of space. At that point, Time Machine deletes the oldest weekly backup.
Well, kopia works the same way, with the exception that kopia doesn’t automatically removes snapshots, when the volume becomes full. It’s up to the user to set gauge that and maybe adjust the retention settings or to provide the storage needed.
Here’s the thing though. If you have your computer connected on Monday and make 24 backups, then unplug it on Tuesday and make zero, when you plug it back in on Wednesday it’s going to immediately delete those 24 backups right?
So it doesn’t save the last x hourly backups, it saves the last x hourly backups for 24 hours, if that makes any sense.
So if you wanted to avoid that behavior you’d want lastly to be ≥ the largest number you have set in hours/days/weeks/years, right? In my example, 24, since 24 is the largest number.
Latest is the latest. It is just yet another category. I think the best way is to try. Set all much higher than you need. Later you can change and see in UI what will be kept and what deleted