2.12 to 3.1 Upgrade (Data transfer mysql)

jaimzj9 years ago

Dear Anton,

I am currently on 2.12 version of traccar server. (With my own web app, where I had customised the db structure etc).

I am planning to uninstall 2.12 and directly Install 3.1 with its default database etc.

I am thinking of leaving the data as is, with another url to access the old database for my users.

or even importing these data to the new database for 3.1 (However Not sure how to go about with it.), I have 300mb worth of position data. do advice.

Anton Tananaev9 years ago

What database engine are you using?

You can find information about migrating data here:
https://www.traccar.org/update-from-2-x-to-3-0/
https://www.traccar.org/update-from-3-0-to-3-1/

jaimzj9 years ago

Thanks for the Link Anton, I am using MySql. I will try 2-x to 3-0 Instructions...

One more question I have.

  1. I have my own web app, not using the default web.

Is there any instructions on how to use the command option from own web app (any integration document etc?)

Anton Tananaev9 years ago

I have started writing API documentation, but it doesn't have command section yet:

https://www.traccar.org/traccar-api/

I guess the easiest way at this point is to look at the code or check browser console to see the format for commands being sent.

jaimzj9 years ago

Thanks Anton, Will do so :)