Restore ancient backup #5432
-
|
I want to create a new TeslaMate instance so I can import data from a car I sold years ago. The data is a backup made with TeslaMate v1.27.1, from early January 2023. Is there any likelihood that I could import this data into TeslaMate v4.0.1? My first thought was to spin up TeslaMate v1.27.1, but I haven't found any hints on what the docker-compose.yml file should contain for that version TM. Or would a current format docker-compose.yml work fine? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
|
Yes, this should work... it's a known scenario, and the project's own maintainers/community have walked people through almost exactly this in past Discussions. A few load bearing facts:
So the path that matches what's actually documented and recommended for this kind of "old backup, new install" situation is:
One caveat though... I haven't found anyone documenting this exact "~3.5 year old backup straight through to v4.0.1" jump, just the same principle applied to smaller gaps. So treat step 2 as a checkpoint - don't touch your original |
Beta Was this translation helpful? Give feedback.
-
|
I'll demonstrate my Docker ignorance here: given that this will be a separate TM instance, do I need to specify a unique database name in the docker-compose.yml to avoid interference with my current TM instance? Or, will this new instance be in a completely separate world, with zero possibility of interfering with my older (and still running) TM instance? |
Beta Was this translation helpful? Give feedback.
-
|
I put in docker-compose.yml, but the logs show that TeslaMateWeb is using 4000: If I stop the original TM (which is using 4000), the browser finds nothing at either 4000 or 4001. If I then edit docker-compose.yml for this new instance to use 4000, and restart it, the browser then finds the new empty TM at 4000. It seems like the http port for TM is hard coded to 4000 or cached somewhere, unless there is something else I need to do so it is happy to use 4001. |
Beta Was this translation helpful? Give feedback.
Yes, this should work... it's a known scenario, and the project's own maintainers/community have walked people through almost exactly this in past Discussions.
A few load bearing facts: