Title here
Summary here
December 22, 2021 in Home Automation1 minute
First create a backup, just in case anything goes wrong. Check it is done. You may probably want to move/copy it to another machine as well.
mkdir backup
docker-compose exec -T database pg_dump -U teslamate teslamate > backup/teslamate.bck
cd backup/
ls -alNow, get back to the directory where the docker file is, and run these commands sequentially.
cd ..
docker-compose pull
docker-compose up -dThat’s it. Once it is complete. Check the teslamate page and grafana page. Everything should look good. If you get an error, just try rebooting
sudo rebootIf you ever want to periodically backup, get to the root folder and run the backup command.