Hi Sathis, 

I guess your best bet will be to use the newer postgresql plugin come in 23 
where you will have all new sort of possibility
you can already check the new documentation at 
https://docs.bareos.org/master/TasksAndConcepts/Plugins.html#postgresql-plugin

The last iteration of rewrite will also offer an extended support for *deb* 
like pg_*_cluster tool and configuration.
If you want to test the code before the switch to 23, the experimental 
repository can allow you to do so.

Regards.

Le jeudi 23 novembre 2023 à 10:40:12 UTC+1, Sathis Anarudhan a écrit :

> Hi Community,
>
> I have configured the bareos-fd-postgresql plugin on my client machine 
> (which running the db) and created a FileSet configuration on Dir machine 
> to run the DB backups.
>
> below is the FileSet config
>
> FileSet {
>     Name = "Postgres"
>     Include  {
>         Options {
>             Compression = LZ4
>             Signature = XXH128
>         }
>         Plugin = "python3"
>                  ":module_name=bareos-fd-postgres"
>                  ":postgresDataDir=/var/lib/postgresql/11/main"
>                  ":walArchive=/var/lib/pgsql/wal_archive/"
>              ":ignoreSubdirs=pg_wal,pg_log,pg_xlog"
>                  ":dbHost=/run/postgresql/"
>              ":dbuser=username"
>              ":dbname=dbname"
>     }
> }
>
> but i am getting the below error when running the job
>
> client-fd JobId 18: Fatal error: python3-fd-mod: Could not connect to 
> database dbname, user username , host: /run/postgresql/.s.PGSQL.5432: 
> server requesting MD5 password authentication, but no password was provided 
>
> i have modified the pg_hba.conf file in client machine to user peer auth 
> as well, and getting the same error
>
> Can't we hard code the db password in FileSet conf ? or any suggestion to 
> fix this ?
>
> Thanks,
> Sathis Anarudhan
>
>

-- 
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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/c350fe72-c71e-4ba1-95c9-860194a13748n%40googlegroups.com.

Reply via email to