Skip to content

How to move teslamate to a different host? #4488

Answered by parkr
segdy asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@fatman00
Comment options

@DrMichael
Comment options

@eliluong
Comment options

@fatman00
Comment options

Answer selected by segdy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants