hassio-dropbox-upload
hassio-dropbox-upload copied to clipboard
Ideas: would it be possible to have an option for how many to keep in the host and how many to keep in dropbox (wish the two numbers to be different)?
In my user case I have no problem in hosting large numbers of snapshots on the host, but have Dropbox size limits.
That would be a reasoable addition. I'm not sure how we would best represent that in the configuration. Maybe something like this?
"keep_host": 10,
"keep_dropbox": 5,
Then let the user specify both of these values or just "keep" - if they provide all three then error.
It would require a bit of extra work. At the moment we know which snapshots are the most recent by looking at the HASS.io API. If the user stores more snapshots in dropbox than they do in HASS.io we will need a new way to determine the age/order.