What database are you using? If default H2, you can just copy files over.
on my traccar gps instance gpyes.com.au
I have moved to mysql from h2
If you are running mysql;
mysql dump the database
copy directory & zip it
ftp/rsync to your second server
unzip files into location
mysql import
if you're using aws ec2, I create a snapshot of the server to create an image and bring up another server based on the image.
how can i backup my existing traccar data and re-install it on another serve ?