Replies: 9 comments 7 replies
-
I originally setup Teslamate on a Synology NAS and a RPi (as Backup). Because of a firewall misconfiguration on my NAS, it didn't recieved any data for one day but the RPi has it. |
Beta Was this translation helpful? Give feedback.
-
I'm in a similar situation and where I would want to merge my two old TeslaMate databases (which I took a backup ofc) in to one single database. I made the mistake that I created a new TeslaMate instance for every new Tesla we got but now lacking the ability to get a comprehensive view on historic data of the other models. I've got access via psql / pgAdmin to the DB instance and tried to do a restore but obviously running in to issues as the keys are already existing. And DB expert out there? :) |
Beta Was this translation helpful? Give feedback.
-
If you are not familiar in writing your own sql lines, the short answer is no. If you are, it is possible, but i doubt anyone would write scripts for your specific migration. |
Beta Was this translation helpful? Give feedback.
-
I have a similar issue in that I've failed to migrate data properly and now have about 500MB in one instance (a little over a year of data) and 350MB in another. |
Beta Was this translation helpful? Give feedback.
-
出一个teslamte 备份还原教程原理就两步 docker-compose exec -T database pg_dump -U teslamate teslamate > /backuplocation/teslamate.bck cp teslamate.bck /tmp 这个命令代表着我把teslamate.bck文件复制到tmp文件下打开xftp 到tmp路径 把teslamate.bck下载出来到此第一步已经完成。 第二步打开要还原的主机 把这个文件放到你安装teslamate的位置 Drop existing data and reinitializedocker-compose exec -T database psql -U teslamate << .drop schema public cascade; Restoredocker-compose exec -T database psql -U teslamate -d teslamate < teslamate.bckRestart the teslamate containerdocker-compose start teslamate |
Beta Was this translation helpful? Give feedback.
-
Has anyone made any progress on this? Is there any documentation on the DB schema? |
Beta Was this translation helpful? Give feedback.
-
I am very interested in a way to merge two databases. I have two TeslaMate servers running, but each server has been offline at different periods, so neither server has a complete set of data. But, I'd have the whole picture if I could merge the two databases, somehow. |
Beta Was this translation helpful? Give feedback.
-
same requirements |
Beta Was this translation helpful? Give feedback.
-
Same requirement. Hope someone can work it out. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
I originally setup Teslamate on Windows 10 and have since bought a Raspberrypi. I tried to restore from a backup before I went on vacation but it didn't work. While I was gone, the power went out and the windows 10 database stopped working June 30th at 3:26 and the Raspberry pi started recording on June 30th at 6:10. If I only use the windows 10 database I will lose data for a week, if I use the Raspberrypi database I will lose the data from the first 3 months I owned the car. Any help is appreciated if it's possible.
Beta Was this translation helpful? Give feedback.
All reactions