Files
archived-teslamate/docs/maintenance/updating_postgres.md
T

528 B

Updating Postgres

  1. Create a backup

  2. Stop all TeslaMate containers

    docker-compose down
    
  3. Delete the database volume. Be careful, this will delete all your previously recorded data! Make sure that your backup can be restored before you start.

    docker volume rm teslamate_teslamate-db
    
  4. Change the postgres version in docker-compose.yml and start the container

    docker-compose up -d
    
  5. Restore the backup