Remove database configs from hooks
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
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.
I'll update the template and do a major version bump to reflect this.