On 5/13/19 2:20 AM, Prakash Ramakrishnan wrote:
> Hi Adrian,
>
> Yes am using edb standard edition and installed pgbackrest in prod and dev.
To be clear your have on the prod server:
1) Postgres installed via EDB installer.
2) You have pgBackRest.
3) You can take a backup using pgBackRest from the Postgres server.
If that is the case how did you install pgBackRest on the prod server?
In other words what is different between the prod and dev setups of
Postgres and pgBackRest?
>
> nothing different am trying to restore the backup prod to dev cluster .
>
> * Can't load '/usr/lib64/perl5/vendor_perl/auto/DBD/Pg/Pg.so' for module
> DBD::Pg: libpq.so.5: cannot open shared object file: No such file or
> directory at /usr/lib64/perl5/DynaLoader.pm line 190.*
> at /loader/0x1ec1528/pgBackRest/Db.pm line 10.
> at /loader/0x1ec1528/pgBackRest/Main.pm line 12.
> pgBackRest::Main::__ANON__('Can\'t load
> \'/usr/lib64/perl5/vendor_perl/auto/DBD/Pg/Pg.so\...') called at
> /usr/share/perl5/vendor_perl/Carp.pm line 100
>
> May be above path is corrupt or something issue not able to load the path.
>
> Regards,
> Prakash.R
>
--
Adrian Klaver
adrian.klaver@aklaver.com