Open Taubin opened 1 week ago
Same here
It seems that borgmatic docker image uses an older version of postgresql client (pg_dump is v16.3) that is incompatible with the latest 17 version of postgres server that comes with this ansible playbook.
We'll have to wait for the update from borgmatic it seems. Other option would be to install and configure borgmatic manually on the server machine and install compatible postgresql client.
As for this ansible playbook, it's worth the thought to make and use a custom docker image for postgres and include borgmatic in it, so it always uses the same client that comes with postgres. There are lots of possible issues with that kind of setup too. I hate containerized builds sometimes for exactly this.
Describe the bug
When enabling borg backup and running the backup fails due to a mismatch within pg_dump
To Reproduce Enable borg backup in the config. Run the playbook. Run the backup on the server using
systemctl start matrix-backup-borg
My
vars.yml
file looks like this:Expected behavior I expect the server to perform the backup properly using the current version of pg_dump
Matrix Server:
Additional context Full error: