Doesn't log performance metrics
It would be handy if Obnam would collect, and log, performance metrics for each run. This could include things like:
-
complete run time -
time spent on scanning live data -
time spent splitting files into chunks -
time spent checking if chunk already exist on server -
time spent downloading previous generation SQLite file -
time spent uploading new generation SQLite file -
number of files found in live data -
number of files backed up this run -
number of chunks backed up this run -
number of chunks that already existed on server, this run
This would be done always, but logged only if logging is configured.
Doing this would require extensive infrastructure for measuring things.
Edited: These are skipped at least for now:
- time for each phase of the run -- meaningless
- number of various kind of system calls made -- best measured externally
- time spent on SQL queries, per kind of query -- will be redoing the whole SQL use
- time spent computing chunk checksums -- currently indistinguishable from reading the file
Edited by Lars Wirzenius