ansible-role-borgbackup icon indicating copy to clipboard operation
ansible-role-borgbackup copied to clipboard

Remove database configs from hooks

Open Subbeh opened this issue 2 years ago • 2 comments

As of version 1.8.0, database configurations are not defined under hooks anymore and borgmatic fails if the old format is still in use.

Please change the role accordingly so that any database backups are defined at root-level.

https://torsion.org/borgmatic/docs/how-to/backup-your-databases/#database-dump-hooks

Subbeh avatar Sep 29 '23 00:09 Subbeh

There are even more breaking changes coming up. These warnings are currently logged for my installation.

WARNING /etc/borgmatic/config.yaml:

Configuration sections (like location:, storage:, retention:, consistency:, and hooks:) are deprecated and support will be removed from a future release. To prepare for this, move your options out of sections to the global scope.

The exclude_if_present option now expects a list value. String values for this option are deprecated and support will be removed from a future release.

The repositories option now expects a list of key/value pairs. Lists of strings for this option are deprecated and support will be removed from a future release.

agross avatar Dec 17 '23 12:12 agross

I'll update the template and do a major version bump to reflect this.

m3nu avatar Dec 18 '23 11:12 m3nu