Re: Pgbackrest Comparability issue
От | Adrian Klaver |
---|---|
Тема | Re: Pgbackrest Comparability issue |
Дата | |
Msg-id | 55d6b3bb-8b98-3912-50ff-9c08aab5d426@aklaver.com обсуждение исходный текст |
Ответ на | Re: Pgbackrest Comparability issue (chiru r <chirupg@gmail.com>) |
Ответы |
Re: Pgbackrest Comparability issue
|
Список | pgsql-general |
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
В списке pgsql-general по дате отправления: