Remove old data from DB file

Kirill2 years ago

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.

Anton Tananaev2 years ago

Someone recently posted an instruction how remove old data from the H2 database. Search on the forum.

Kirill2 years ago
John Smitha year ago