Daily export of statistics?

Hi,

I do not know if my question has already been discussed or not, but I am looking for a solution to do a daily export of the statistics to a file or E-mail message.

The background is, that some friends and I would like to rent a server with lots of space and distribute the costs according to the used storage.

My idea was to do a daily automatic export of the client statistics (used storage) and calculate a month average.

Would that be possible with some scripts?

Kind regards,
Daniel

Yeah, would be easy to add to e.g. https://github.com/uroni/urbackup-server-python-web-api-wrapper . Parameter is x?a=usage

The sqlite database also contains historical usage information, so you could extract that any sqlite lib or the command line tool.

If we would want to use ODBC, which driver is recommended? (Windows 10)

This one might work: http://www.ch-werner.de/sqliteodbc/