pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgbackrest error
3+ messages / 3 participants
[nested] [flat]

* pgbackrest error
@ 2022-01-18 06:30  Daulat <daulat.dba@gmail.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Daulat @ 2022-01-18 06:30 UTC (permalink / raw)
  To: pgsql-admin <pgsql-admin@lists.postgresql.org>

Hello Team,

I need your assistance on the below error. I am creating stanza using

pgbackrest --stanza=uat --log-level-console=info
--pg1-path=/PostgreSQL-10/data --log-path=/opt/pgbackrest/log stanza-create

Error:
-------
2022-01-18 01:26:50.843 P00   INFO: stanza-create for stanza 'uat' on repo1
ERROR: [039]: HTTP request failed with 403 (Forbidden):
       *** Path/Query ***:
       /pgBackRest-uatdb-bkp/archive/uatdb/archive.info
       *** Request Headers ***:
       authorization: <redacted>
       content-length: 0
       host: pgbackrest-uat-dbback.s3.us-east-2.amazonaws.com
       x-amz-content-sha256:
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
       x-amz-date: <redacted>
       *** Response Headers ***:
       content-type: application/xml
       date: Tue, 18 Jan 2022 06:26:50 GMT
       server: AmazonS3
       x-amz-id-2:
b2ib2ClKU6mMXmCfa08BFpXq0tC8jsgmIBRP/cKVIzsbMR0ETXiG+OgjbTHDQqmV7cid33kza7A=
       x-amz-request-id: 4NPRYRW4TRXRJDHD
2022-01-18 01:26:50.884 P00   INFO: stanza-create command end: aborted with
exception [039]

Thanks,

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgbackrest error
@ 2022-01-18 07:45  Ron <ronljohnsonjr@gmail.com>
  parent: Daulat <daulat.dba@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Ron @ 2022-01-18 07:45 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org

On 1/18/22 12:30 AM, Daulat wrote:
> Hello Team,
>
> I need your assistance on the below error. I am creating stanza using

The official place to ask about errors is 
https://github.com/pgbackrest/pgbackrest/issues

> pgbackrest --stanza=uat --log-level-console=info 
> --pg1-path=/PostgreSQL-10/data --log-path=/opt/pgbackrest/log stanza-create
>
> Error:
> -------
> 2022-01-18 01:26:50.843 P00   INFO: stanza-create for stanza 'uat' on repo1
> ERROR: [039]: HTTP request failed with 403 (Forbidden):
>        *** Path/Query ***:
>        /pgBackRest-uatdb-bkp/archive/uatdb/archive.info <http://archive.info;
>        *** Request Headers ***:
>        authorization: <redacted>
>        content-length: 0
>        host: pgbackrest-uat-dbback.s3.us-east-2.amazonaws.com 
> <http://pgbackrest-uat-dbback.s3.us-east-2.amazonaws.com;
>        x-amz-content-sha256: 
> e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
>        x-amz-date: <redacted>
>        *** Response Headers ***:
>        content-type: application/xml
>        date: Tue, 18 Jan 2022 06:26:50 GMT
>        server: AmazonS3
>        x-amz-id-2: 
> b2ib2ClKU6mMXmCfa08BFpXq0tC8jsgmIBRP/cKVIzsbMR0ETXiG+OgjbTHDQqmV7cid33kza7A=
>        x-amz-request-id: 4NPRYRW4TRXRJDHD
> 2022-01-18 01:26:50.884 P00   INFO: stanza-create command end: aborted 
> with exception [039]

Please show the contents of your pgbackrest.conf file.


-- 
Angular momentum makes the world go 'round.

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgbackrest error
@ 2022-01-19 17:33  Mladen Gogala <gogala.mladen@gmail.com>
  parent: Daulat <daulat.dba@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Mladen Gogala @ 2022-01-19 17:33 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org

On 1/18/22 01:30, Daulat wrote:
> ERROR: [039]: HTTP request failed with 403 (Forbidden):

There is a problem with the authentication. You should probably use TLS 
authentication with the keys since your server is on AWS. Another 
alternative is to use S3 file system on Linux to mount the Amazon S3 
device and then use it as a local NAS.

-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2022-01-19 17:33 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-01-18 06:30 pgbackrest error Daulat <daulat.dba@gmail.com>
2022-01-18 07:45 ` Ron <ronljohnsonjr@gmail.com>
2022-01-19 17:33 ` Mladen Gogala <gogala.mladen@gmail.com>

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