mirror of
https://github.com/teslamate-org/teslamate.git
synced 2026-01-24 21:06:08 +08:00
I was trying to backup my TeslaMate instance, and tried using the command given in the documentation. I kept getting this error: ``` pg_dump: error: connection to database "teslamate" failed: FATAL: role "teslamate" does not exist ``` However when I was setting up TeslaMate with [this guide](https://docs.teslamate.org/docs/guides/traefik), I changed the values in the `.env` file, specifically `TM_DB_USER`. Since I changed that, I needed to change it in the backup command also. I added another little note box for others in this scenario.