What is the issue exactly?
I think he wants a tutorial how to do that.
Just install on one server traccar server and on another server install database server and use external database access for the traccar.
We already have the documentation for it and that's why I'm asking.
How to run Traccar with seperate database inatance, like Traccar on Server A and its PostgreSQL DB on Server B?