What does --quota-size?

I haven’t reviewed the code myself, but in the sample line you provided the property name FreeQuotaSpace to me implies it’s the difference between backup size and quota size - not that it’s raw “free space”.

That being said, the description of --quota-size is:

This value can be used to set a known upper limit on the amount of space a backend has. If the backend reports the size itself, this value is ignored

To me this means that Quota is being treated like total space available, just as you describe.


Again, I’ve not looked at the code but if --quota-size is only used for certain providers even if it’s specified in the parameters, then that’s an issue that should be addressed. Either through re-coding or updating the parameter description to make it clear it only works with certain providers.


Perhaps you could use the current --quota-size code as a starting point for adding a new parameter, maybe something like --max-backup-size that can be set independently of quota AND backend.

With something like that in play one could even start adjusting retention rules to start pruning older stuff only once the “max backup size” limit is reached. :slight_smile: