I’ve tried 4 different browsers (IE, Edge, Chrome, FF), connected to 2 Duplicati instances (Windows 10, Netgear NAS), cleared cache, all with the same symptoms: menu keeps scrolling up and down, there’s no difference with the previous versions for me.
Duplicati reports V2.0.2.18, used the internal updater to install the latest version.
Once again, when I had --keep-versions=1 and now I change it to custom backup retention, the UI stores both options and I am doomed. Because UI still does not clean up the command line with the new settings.
It will not backup and complains:
“Setting multiple retention options (–keep-versions, --retention-policy) is not permitted”
I then can add the keep-versions via advanced options, save, remove it, save, no it will stay there. Now with Canary I have made all backups dysfunctional this way. Will probably have to export and re-import all backup definitions, or create from scratch.
EDIT/SOLUTION: I forgot, I found out about the solution some days ago.
I’m now having this issue (or similar). I previously had my backup versions set to remove all backup versions older than 2 years, and (separately) a retention policy set via the Advanced Options setting to thin out backups until then. Now (for reasons I can’t guess at), Duplicati errors out when I try to run a backup job because of 2 retention settings (which worked fine before, and logically stack).
Also if I try to simply move my old “advanced options” retention policy setting (copied below), Duplicati refuses to save the configuration, complaining “Retention value must be more than 5 minutes”.
3D:0s,2W:1D,3M:1W,1Y:1M
I can’t get it to stop complaining about this, no matter what I set the value to.
Edit: @Tapio’s solution from above appears to have worked in my case too.
My followup question: If I want to use retention policy but ALSO delete all backup jobs OLDER than a certain date, matching the “Delete Backups that are older than…” setting, how do I do this? Or are we simply to assume that the retention policy completely replaces the “delete older than…” functionality altogether?
Will remove anything older than 1 year. Your new policy should be:
3D:0s,2W:1D,3M:1W,2Y:1M
To keep it for 2 years and get the exact same functionality
Edit: we made them give errors when combined to avoid causing data loss. If they didn’t you’d suddenly find you only had 1 year retention
Although it’s weird with the problems reported about not being able to change the settings. Also I think we have an active issue in GitHub on "Retention value must be more than 5 minutes”.
Thanks, I was close but was slightly mis-interpreting the syntax I guess. I’ve now settled on this
3D:0s,2W:1D,3M:1W,1Y:1M,3Y:6M,5Y:1Y
which by my understanding means “…, for 1 year keep 1 backup per month, for 3 years keep one backup every 6 months, for 5 years keep one backup per year, and delete everything older”. This is for my work laptop so even the 5 year lifespan is over-generous