pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Steele <david@pgmasters.net>
To: Pavan Kumar <pavan.dba27@gmail.com>
Cc: Jakub Olczyk <jwo@disroot.org>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: pg_backrest build dependencies rpm's
Date: Fri, 24 May 2019 15:55:22 -0400
Message-ID: <60ff9d04-1462-c4ee-1559-6859d15c4a15@pgmasters.net> (raw)
In-Reply-To: <CA+M0sHGPpVA2we8LP+yO8=B4rvocv0vAxdqwbxGWywVkMbkWsQ@mail.gmail.com>
References: <CA+M0sHE=Ta7nKa3qZOTHmEedYkWyyJJ0DjPPAOTKjqE0LPGtTA@mail.gmail.com>
	<3fafbf1d-7fa4-09a9-cd69-8532df0d5a67@disroot.org>
	<CA+M0sHFr6buncuf+1Dp6yWzP742k+7Zx7GD+7bbF7TeQ-b+xhA@mail.gmail.com>
	<5f1aeb58-2c06-e617-58db-bf429c3fd9f7@disroot.org>
	<178d1402-6770-279c-d4e8-5610e08c77fc@pgmasters.net>
	<CA+M0sHGPpVA2we8LP+yO8=B4rvocv0vAxdqwbxGWywVkMbkWsQ@mail.gmail.com>

On 5/24/19 1:12 PM, Pavan Kumar wrote:
> 
>  I was able to install pgbackrest  tool. when I tried to create stanza,
> I got below error. kindly help us on this.
> 
> [root@oralnx1 ~]# su - postgres
> -bash-4.2$ source pg_5400_env.sh >>>> I have sourced my 11.2 version
> environment variables 
> 
>>>>>> tried to created stanza 
> 
> postgres@oralnx1 ~> pgbackrest --stanza=visa-demo
> --log-path=/oratrace/pg_alert_log
> --repo-path=/orabackup/WORM/PGBACKUP/visa-demo-5400
> --log-level-console=detail --log-level-file=detail stanza-create
> 2019-05-24 16:44:52.671 P00   INFO: stanza-create command begin 2.14:
> --log-level-console=detail --log-level-file=detail
> --log-path=/oratrace/pg_alert_log --pg1-path=/oradbaudit/pg_data_dir
> --repo1-path=/orabackup/WORM/PGBACKUP/visa-demo-5400 --stanza=visa-demo
> ERROR [058]: : version '10' and path '/oratrace/pgdata_10.8' queried
> from cluster do not match version '11' and pg1-path
> '/oradbaudit/pg_data_dir' read from
> '/oradbaudit/pg_data_dir/global/pg_control'
> HINT: the pg1-path and pg1-port settings likely reference different clusters
> 2019-05-24 16:44:53.906 P00   INFO: stanza-create command end: aborted
> with exception [058]
> 
> problem Is I do have postgres version 10 and 11 on same server. why
> pgbackrest is taking version 10 ?

It looks like you need to set pg1-port=5400 (This is a guess from your
directory name);

The servers are running on different ports -- you'll need to let
pgBackRest know which one.

-- 
-David
david@pgmasters.net





view thread (8+ messages)

Message-ID: <60ff9d04-1462-c4ee-1559-6859d15c4a15@pgmasters.net>
Permalink:  ../60ff9d04-1462-c4ee-1559-6859d15c4a15@pgmasters.net/
Also on:    postgresql.org/message-id/60ff9d04-1462-c4ee-1559-6859d15c4a15@pgmasters.net

 · 

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-admin@postgresql.org
  Cc: david@pgmasters.net, pavan.dba27@gmail.com, jwo@disroot.org
  Subject: Re: pg_backrest build dependencies rpm's
  In-Reply-To: <60ff9d04-1462-c4ee-1559-6859d15c4a15@pgmasters.net>
  References: <CA+M0sHE=Ta7nKa3qZOTHmEedYkWyyJJ0DjPPAOTKjqE0LPGtTA@mail.gmail.com> <3fafbf1d-7fa4-09a9-cd69-8532df0d5a67@disroot.org> <CA+M0sHFr6buncuf+1Dp6yWzP742k+7Zx7GD+7bbF7TeQ-b+xhA@mail.gmail.com> <5f1aeb58-2c06-e617-58db-bf429c3fd9f7@disroot.org> <178d1402-6770-279c-d4e8-5610e08c77fc@pgmasters.net> <CA+M0sHGPpVA2we8LP+yO8=B4rvocv0vAxdqwbxGWywVkMbkWsQ@mail.gmail.com> <60ff9d04-1462-c4ee-1559-6859d15c4a15@pgmasters.net>

* 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