Search Postgresql Archives

Re: Pgbackrest Comparability issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/28/19 12:28 PM, chiru r wrote:


On Thu, Feb 28, 2019 at 1:28 PM Adrian Klaver <adrian.klaver@xxxxxxxxxxx <mailto:adrian.klaver@xxxxxxxxxxx>> wrote:

    On 2/28/19 10:06 AM, chiru r wrote:
     >
     > We are suing pgBackRest 1.24 version .

Hmm, that cut off in the previous post, sorry for the noise. Seems email client issue on my end.

     >
     > Installing using rpms
     >
     > yum -y install perl-parent
     > yum -y install perl-Time-HiRes
     > yum -y install perl-JSON
     > yum -y install perl-Digest-SHA
     > yum -y install perl-Digest
     > yum -y install perl-DBD-Pg

    FYI, please do not top post. Inline posting is the preferred style on
    this list.

    In the above I do not see anything that indicates how pgBackRest was
    installed or the version number.

Hi Adrian,
We installed  pgBackRest *1.24* version  initially with PostgreSQL 9.5.10 version.

In the 1.x series the latest is 1.28. The 1.x series has been superseded by 2.x it would seem.

Now we have installed postgresql-10 on server and we are trying to run backups to PostgreSQL-10 also using pgbackrest. and we are getting compilation errors.

Is this the same server as the one that has the 9.5 instance?


The below steps we followed.
yum -y install perl-parent
yum -y install perl-Time-HiRes
yum -y install perl-JSON
yum -y install perl-Digest-SHA
yum -y install perl-Digest
yum -y install perl-DBD-Pg

Downloaded pgbackrest-release-1.24.zip from github and unpacked.
https://github.com/pgbackrest/pgbackrest

cp -r pgbackrest-release-1.24/lib/pgBackRest  /usr/share/perl5/
cp -r pgbackrest-release-1.24/bin/pgbackrest  /usr/bin/pgbackrest

Have you tried this:

https://pgbackrest.org/user-guide.html#build


echo "Restarting Cluster......."
su -c "cd ${PGHOME}/bin; pg_ctl restart -D ${PGDATA}" -m "$DBUSER"
sleep 20

su -c "cd /usr/bin; pgbackrest --stanza=online_backups10 --log-level-console=info stanza-create" -m "$DBUSER" su -c "cd /usr/bin; pgbackrest --stanza=online_backups10 --log-level-console=info check" -m "$DBUSER"

  Thanks,
chiru



--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux