You can configure server to remove old data, but it's not enabled by default.
Thx, can you tell me where i can mod that in the server menu ? Or maybe i need to modify a file ?
In the config file.
The file where you setup sql ? Can you specify the file in the right directory please ?
Please read the official documentation before asking questions:
Thx Anton,
The link tell : If you use Windows system, "the" file is traccar.xml, ok.
My file is something like that :
<entry key='database.driver'>com.mysql.jdbc.Driver</entry> <entry key='database.url'>jdbc:mysql://[HOST]:3306/[DATABASE]?allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</entry> <entry key='database.user'>[USER]</entry> <entry key='database.password'>[PASSWORD]</entry>
I have check all keys on your link but i don't see anythinh that i want...
Let say i want to keep record during 6 months, what i have to add to this file ?
Thx in adv
Omg my bad... This :
<entry key='database.positionsHistoryDays'>NUMBER OF DAYS HERE</entry>
Right ?
Yes, that's the one.
Hello,
Let me explain. From what i know, the server receive data and record that on a database, ok.
Question : Is it permanent recording ? Or after like "x" years the "old" data is erased ?
Ps: sorry if my question seems stupid