Dear Mr. Friedmann, it has worked like a charm. But now I need to provide a db password and in the documentation there's nothing about that (I mean a parameter for the plugin to pass the password). Have you any clue about that? Thank you ahead (and your time)
Bruno Friedmann schrieb am Donnerstag, 21. Juli 2022 um 15:32:58 UTC+2: > The trick with pip3 install is to place the package on a python path that > the user (here it's root normally on fd) can find the needed module. > With root this is not advised to be used as you can install package that > will conflict with packaged one, but still the simplest solution. I guess > in your case only the dbadmin has pg8000 module installed for itself. > > On Thursday, July 21, 2022 at 1:01:59 PM UTC+2 [email protected] wrote: > >> I've got this error today on the client: >> Fatal error: python3-fd-mod: could not import Python module: No module >> named 'pg8000' >> TwoWayAuthenticate failed, because job was canceled. >> >> WAG Admin schrieb am Donnerstag, 21. Juli 2022 um 12:21:35 UTC+2: >> >>> I don't know what dateutils is. But I've installed pg8000 with the >>> command pip3 install pg8000 with the dbadmin user on the client system. >>> I've followed the tutorial on the website: >>> https://docs.bareos.org/TasksAndConcepts/Plugins.html#postgresql-plugin >>> >>> >>> Bruno Friedmann schrieb am Mittwoch, 20. Juli 2022 um 10:36:22 UTC+2: >>> >>>> Not sure if you have done it, did you check that account using the >>>> plugin has access to dateutils and pg8000 (by installed rpm or pip3 >>>> method) >>>> ? >>>> >>>> On Monday, July 18, 2022 at 8:09:28 PM UTC+2 [email protected] wrote: >>>> >>>>> Dear Bareos users, >>>>> It's been a week that I try to make the Postgres plugin works with the >>>>> documentation, but I have been left so far without a solution. >>>>> The install of the plugin happens without any problem - python3 - >>>>> bareos-postgresql-python-plugin (here there's a error in the doc with the >>>>> name of the package). The configuration of the FileSet on the backup >>>>> server >>>>> exactly like on the website with naturally the setup of every parameter >>>>> (module_path, module_name,postgresDataDir,walArchiv) for our systems >>>>> (Linux >>>>> Opensuse 15.3). >>>>> Our Postgres is the version 13.7 >>>>> The "normal" backup of the server works like a charm. It's only the >>>>> plugin. We have Bareos 21 on the server and backup client. >>>>> I have configured the conf file of postgres for the plugin too >>>>> (restore_command, archive_command, archive_mode) and create the file >>>>> recovery.signal in Postgres Data. >>>>> All the services were restarted too. When I execute the backup, I >>>>> receive a Fatal error Command plugin with requested but is not loaded. >>>>> I've >>>>> search on Internet but I've not found anything really relevant. >>>>> Someone here can help me or show me the direction to understand this >>>>> kind of error? >>>>> It would be really nice from you! >>>>> Thank you ahead. >>>>> Regards, >>>>> Joel.T >>>>> ps: I found something but in 2015 and it's really the same problem. >>>>> https://www.mail-archive.com/[email protected]/msg01087.html >>>>> <https://www.mail-archive.com/[email protected]/msg01087.html> >>>>> >>>>> >>>>> -- 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/5e834d06-7d0e-4e77-95c5-5aa97a227e24n%40googlegroups.com.
