Replies: 1 comment
-
My recommendation is to use the backup & restore method. https://docs.teslamate.org/docs/maintenance/backup_restore Shut down the teslamate container, backup from Postgres, create a tar off that backup, scp to the new host, start Postgres on the new host, restore to that new Postgres container, then start the other containers. It's also a good time to upgrade Postgres. I have successfully moved hosts multiple times using this method. Besides the teslamate container's environment variables, all the state is held in the one Postgres database. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know this can be a docker question too but I'm hoping for guidance on how to move my TeslaMate containers to a different host without loosing any settings, data, as well as the link to the car. I don't have much docker experience.
I searched a bit but moving docker containers seems to be surprisingly daunting. export vs save, commit, data volumes ... why can't this just be simple?
I have 4 containers:
docker ps | grep -i tesla
What is the best approach to move to a new host?
Beta Was this translation helpful? Give feedback.
All reactions