You can use data forwarding to forward data to your other database. You would need some script that accepts HTTP request and writes data into the database.
As for accessing Traccar database, you can set up MySQL or some other fully-featured database for that.
Regarding security, how can I allow mysql connections only from the distant server?
It's a good question, but it's not directly related to Traccar. I guess you can allow connection only from certain IP addresses. I'm sure you can find some information on internet about this topic.
If you need access to data, not to the actual database, then you can use Traccar API.
Let me check this, thank you
Hi,
I have installed the new version of traccar server for Linux using Ubuntu 16.
Everything is going well.
Now I need to save every time I have a new record for location, to bcc those data to an external database on a distant server. This external database does not have the same structure.
Also I need the distant server to have access to the traccar database for read and write.
Thank you