pgbackrest error

Поиск
Список
Период
Сортировка
Искать

pgbackrest error

От:
Daulat <daulat.dba@gmail.com>
Дата:
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,

Re: pgbackrest error

От:
Ron <ronljohnsonjr@gmail.com>
Дата:
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
       *** 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]

Please show the contents of your pgbackrest.conf file.


--
Angular momentum makes the world go 'round.

Re: pgbackrest error

От:
Mladen Gogala <gogala.mladen@gmail.com>
Дата:
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
FAQ