Hi Bruno, we tested your new plugin with a quite large database with a running application using it. When doing a full backup we ran into:
JobId 5116734: Fatal error: bareosfd: Traceback (most recent call last): File "/usr/lib64/bareos/plugins/BareosFdWrapper.py", line 61, in start_backup_file return bareos_fd_plugin_object.start_backup_file(savepkt) File "/usr/lib64/bareos/plugins/bareos-fd-postgresql.py", line 703, in start_backup_file return super().start_backup_file(savepkt) File "/usr/lib64/bareos/plugins/BareosFdPluginLocalFilesBaseclass.py", line 118, in start_backup_file mystatp.st_mode = statp.st_mode UnboundLocalError: local variable 'statp' referenced before assignment JobId 5116734: Error: python3-fd-mod: Could net get stat-info for file /db/pgsql/pgsql-15/pg_subtrans/00BF: "[Errno 2] No such file or directory: '/db/pgsql/pgsql-15/pg_subtrans/00BF'" It seems that the plugin fails when it wants to backup a subtransaction that has been commited and removed from that directory in the meantime. Is it save to exclude the pg_subtrans directory? With kind regards, Dennis -------- Ursprüngliche Nachricht -------- Von: Bruno Friedmann <[email protected]> An: bareos-users <[email protected]> Betreff: [bareos-users] New PostgreSQL plugin search volunteers for testing Datum: 13.09.2023 09:46:08 Hi community, users and customers, As we're moving towards Bareos 23, we could use some help testing the all new PostgreSQL plugin which is needed because of changes happened in PostgreSQL 15. Main features compared to the old one:- use non exclusive mode - support all clusters starting from version 10 - support clusters with tablespace - support non standard port - support password parameter - better debugging - renew of parameters names and variables - renewed documentation We're looking for a few early adopters to work with directly. If you'd like to participate please contact https://bareos.com/contact with a small description of your environment to have multiple environments as test scenarios. And "For all others who'd like to test without early adapters program the testing packages are now available at this address https://download.bareos.org/experimental/PR-1541/ The corresponding documentation is also available on https://download.bareos.org/experimental/PR- 1541/BareosMainReference/TasksAndConcepts/Plugins.html#postgresql- plugin The ongoing development PR is available here https://github.com/bareos/bareos/pull/1541 We would really appreciate comments, remarks, and tests. Better to use github comments if you want to participate, and help. The new plugin aims to replace the old one, and will be delivered in the same package bareos-filedaemon-postgresql-python-plugin Notice The old plugin (deprecated) will still also be delivered in 23, but we recommend (not sure if we will force) its usage to only restore previous backups done with, until you migrate to the new one. Thanks and all the best -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/8d4432a2-4561-4adf-9fa6-b8aff31da6f0n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/11fbaa212c7ca723e76cdbbcc11cb8c67ee8a263.camel%40googlemail.com.
