Someone recently posted an instruction how remove old data from the H2 database. Search on the forum.
This snippet worked for me to reduce the size:
https://www.traccar.org/forums/topic/h2-database-delete-old-positions-reduce-size-whilst-retaining-device-config/
Hello!
I cannot execute this code https://www.traccar.org/clear-history/ because I am using database.mv.db and database.trace.db
I tried to https://pastebin.com/raw/qJX4A6jQ use this python code which I found on public but it does not work too (sqlite3.OperationalError: near "DAY": syntax error)
Help please to remove old data from file without manually file removal.