Traccar MySql database with or without !

Macan5 years ago

Hi,

Can some expert answer to this question.

In this Tutorial there is nothing about how to setup MySql database :
https://www.traccar.org/forums/topic/installing-traccar-v3-9-on-ubuntu-16-10-server-x84_x64-on-remote-vps-via-ssh/

but on this tutorial there is :
https://www.traccar.org/install-digitalocean/

So I just wondering what is the difference ?

Gareth Curtis5 years ago

hi,

It's up to you whether you want to use Mysql or not. It's optional. Personally, I did, but likewise you could use MS SQLServer too. It's compatible with all kinds of databases, the built in one and Mysql are just two of the options.

Gareth.

Macan5 years ago

So lets say I used first tutorial (wihout MySql) where my logs is stored then ?

Regards

Gareth Curtis5 years ago

By default Traccar Server uses an embedded H2 database...

Macan5 years ago

Ok so how can I make backup ?

Thank you Gareth for answer.

Gareth Curtis5 years ago

I don't know anything about H2 I'm afraid, I imagine it's a file based solution so you could take backups that way, but if you're concerned about the data then obviously go for a proper database solution like Mysql - then you can do fancy backups like replication to other sites etc. Or just dump the data out of Mysql to a file now and again.

Macan5 years ago

I am just curious about H2 database .
Thank you for suggestion, I will stay with Sql.

Regards