Traccar default database file

Inth3 years ago

Hello,
My question is very simple. I want to upgrade my traccar system to a newer version. I know I need to make a copy of my database. I searched for the database file in various traccar folders but couldn't find it anywhere. I thought it would be in the opt / traccar / data folder, but nothing there. how can i download the database file?

Anton Tananaev3 years ago

What database are you using? If the "data" folder is empty, it probably means that you are not using the default database.

Inth3 years ago

I am a beginner, so I haven't touched the database so far, so as not to spoil anything. I have installed Traccar and the only thing I have changed is the server settings which are completely unrelated to the database so it should be the default.

https://i.imgur.com/16FY8hy.jpg

Anton Tananaev3 years ago

Is your Traccar server running? What do you have in the config?

Inth3 years ago

Yes, my server is working fine. I have access to archival journeys, which would mean the database is up and running somewhere.

Traccar.xml file: https://i.imgur.com/MXSySzY.png

Anton Tananaev3 years ago

Well, I can see that you changed the default database. How can you explain that?

Inth3 years ago

No way! I never touched it. Maybe I have an older version where this was the default? I don't know if it matters (or at least I doubt it matters) but my Traccar server is on VPS on Ubuntu 20.04.

Anton Tananaev3 years ago

This is the default config that has been bundled with Traccar installer for the last 4 years or more:

https://github.com/traccar/traccar/blob/master/setup/traccar.xml

Inth3 years ago

I think I already understand ... When I installed traccar, I used the guide (link below), in which one of the steps is editing the traccar.xml file ...
https://www.traccar.org/install-digitalocean/