sanderdw / hassio-addons

DSMR Reader Datalogger and Metabase Home Assistant Add-ons
https://community.home-assistant.io/search?q=%40sanderdw%20%23home-assistant-os
Other
54 stars 14 forks source link

Backup notifications #10

Closed Toolhead closed 3 years ago

Toolhead commented 3 years ago

Have the add-on running for almost a month without problems. Since a few days getting notifications concerning backups. Did not change any settings. Backup folder is set to /backup/dsmrreader

ewoutdenheijer commented 3 years ago

The problem seems to be with conflicting versions of Postgres: (OSError) dsmr_backup.services.backup.run errored: b'pg_dump: server version: 12.4; pg_dump version: 11.10 (Debian 11.10-0+deb10u1)\npg_dump: aborting because of server version mismatch\n'

Off course the TimescaleDB addon wil get backed up if you use Google Drive Backup anyway...

sanderdw commented 3 years ago

It's related to this issue. There is a fix on the way, so expect an update in the coming days.

sanderdw commented 3 years ago

@Toolhead , @ewoutdenheijer just released DSMR Reader 0.1.2. Can you check if it's fixed now?

ewoutdenheijer commented 3 years ago

Seems to be working now. At least, i can make a backup using: . /app/bash.sh ./manage.py dsmr_backup_create --compact

Thanks!