Copy Database from Windows to Linux

Muzzammil Hussain 7 years ago

Dear All,

I am using Traccar on Windows based machine Now I am moving to Ubuntu on Azure. I need to copy all of my previous database to new one. Any guide lines please?

Anton Tananaev 7 years ago

What database are you using? If H2, just copy the files from "data" folder.

Muzzammil Hussain 7 years ago

Yes , the default one . It is H2 and can you please also guide me two things.

  1. Where to paste data folder in ubuntu?
  2. How to change database from H2 to Sql Server?
Anton Tananaev 7 years ago
  1. In /opt/traccar/data
  2. Documentation is on the website; there is no easy way to migrate data though
Muzzammil Hussain 7 years ago

Can you Please give me the link of Documentation where DB thing is? As I was unable to find the script.

Anton Tananaev 7 years ago

I'll give you some time to look for it.

Muzzammil Hussain 7 years ago

ok than i would say Good Luck to me :) Thanks alot Anton

Muzzammil Hussain 7 years ago

Found and done :)