From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | chiru r <chirupg(at)gmail(dot)com> |
Cc: | Forums postgresql <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Pgbackrest Comparability issue |
Date: | 2019-02-28 23:37:01 |
Message-ID: | 55d6b3bb-8b98-3912-50ff-9c08aab5d426@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 2/28/19 12:28 PM, chiru r wrote:
>
>
> On Thu, Feb 28, 2019 at 1:28 PM Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com
> <mailto:adrian(dot)klaver(at)aklaver(dot)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(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Ron | 2019-02-28 23:57:16 | Re: Overloaded && operator from intarray module prevents index usage. |
Previous Message | Jean-Philippe Chenel | 2019-02-28 22:53:22 | PostgreSQL (linux) configuration with GSSAPI to a Windows domain |