Remove old data from DB file

Kirill 3 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 Tananaev 3 years ago

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

Kirill 3 years ago
John Smith 2 years ago