pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: chiru r <chirupg@gmail.com>
Cc: Forums postgresql <pgsql-general@postgresql.org>
Subject: Re: Pgbackrest Comparability issue
Date: Thu, 28 Feb 2019 15:37:01 -0800
Message-ID: <55d6b3bb-8b98-3912-50ff-9c08aab5d426@aklaver.com> (raw)
In-Reply-To: <CA+RSxMi=NUTJoe+cs=mE6SiPSv6+1t3rMT36Evx16m1h2D_eHw@mail.gmail.com>
References: <CA+RSxMhpSenHxAPF_qc_w=wckZc=BHtZ6aBKgCTfS01EordRzw@mail.gmail.com>
	<1821b34a-f991-000d-50a6-fc1831600294@aklaver.com>
	<CA+RSxMgHfd+rUbM7VXAnTDz=BEoC9dgCSBzebk7UEUGj8b+5Jw@mail.gmail.com>
	<a0b07d46-4304-1626-ae52-d3973c1ca2f1@aklaver.com>
	<CA+RSxMi=NUTJoe+cs=mE6SiPSv6+1t3rMT36Evx16m1h2D_eHw@mail.gmail.com>

On 2/28/19 12:28 PM, chiru r wrote:
> 
> 
> On Thu, Feb 28, 2019 at 1:28 PM Adrian Klaver <adrian.klaver@aklaver.com 
> <mailto:adrian.klaver@aklaver.com>> 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@aklaver.com




view thread (7+ messages)  latest in thread

Message-ID: <55d6b3bb-8b98-3912-50ff-9c08aab5d426@aklaver.com>
Permalink:  ../55d6b3bb-8b98-3912-50ff-9c08aab5d426@aklaver.com/
Also on:    postgresql.org/message-id/55d6b3bb-8b98-3912-50ff-9c08aab5d426@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, chirupg@gmail.com
  Subject: Re: Pgbackrest Comparability issue
  In-Reply-To: <55d6b3bb-8b98-3912-50ff-9c08aab5d426@aklaver.com>
  References: <CA+RSxMhpSenHxAPF_qc_w=wckZc=BHtZ6aBKgCTfS01EordRzw@mail.gmail.com> <1821b34a-f991-000d-50a6-fc1831600294@aklaver.com> <CA+RSxMgHfd+rUbM7VXAnTDz=BEoC9dgCSBzebk7UEUGj8b+5Jw@mail.gmail.com> <a0b07d46-4304-1626-ae52-d3973c1ca2f1@aklaver.com> <CA+RSxMi=NUTJoe+cs=mE6SiPSv6+1t3rMT36Evx16m1h2D_eHw@mail.gmail.com> <55d6b3bb-8b98-3912-50ff-9c08aab5d426@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox