Import from TeslaMate
Back up TeslaMate
On the computer running TeslaMate, open a terminal in the folder of its docker-compose.yml file, then run:
docker compose exec -T database pg_dump -U teslamate teslamate | gzip > teslamate.bck.gz
You get the teslamate.bck.gz file: the compressed backup of the whole database.
Send it to your iPhone
Transfer teslamate.bck.gz to your iPhone, with AirDrop or iCloud Drive for instance.
Import it
- In Copeel, open Profile › Integrations › TeslaMate.
- Tap Choose File and select
teslamate.bck.gz, without unzipping it. - Check the preview, choose the Period to import, then tap Import.
Copeel first reads your whole backup, then imports it month by month. It can take several minutes: you can leave Copeel, you’ll get a notification.
Good to know
- The backup must be compressed (
.gzor.bz2): an uncompressed backup isn’t accepted. - Maximum size: 500 MB compressed. Compressed with bzip2 (
bzip2instead ofgzip, fileteslamate.bck.bz2), a backup is smaller. - The cost entered in TeslaMate is kept for each charge; the others are priced with your current electricity plans.
- Every car in the backup can be imported.