I’d like to implement one or two options to limit sqlite database backups. I’m referring to the database backups that are created before a database schema change is applied (after some Duplicati version upgrades) … eg,
backup XXXXXXXXXX 20191101000000.sqlite
Right now there is no mechanism to delete old backups so they can build up over time.
What do you think of the following option ideas:
keep only X older backups, delete ones in excess of this number (oldest ones first)
(default = 2?)
keep backup files only for a certain amount of time
(default = 14d?)
Does it make sense to have both of these options available? Or only one (and if so which one)? I’m kinda torn on this but think keep-age is probably better choice. Would be pretty easy to provide options for both though.