pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Raghavendra Rao J S V <raghavendrajsv@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Reeving an error while taking the backup using "pg_basebackup" utility.
Date: Mon, 27 Aug 2018 21:08:17 -0700
Message-ID: <39913e64-fa15-66af-02ee-c4159e3951e3@aklaver.com> (raw)
In-Reply-To: <CAEHH7R5M6Fy-8uNxfsHP4MDMSVHaJpjP=YKrQmMcQw2v_8LeUg@mail.gmail.com>
References: <CAEHH7R5M6Fy-8uNxfsHP4MDMSVHaJpjP=YKrQmMcQw2v_8LeUg@mail.gmail.com>

On 08/27/2018 06:49 PM, Raghavendra Rao J S V wrote:
> Hi All,
> 
> We are using below command to take the backup of the database.
> 
> *$PGHOME/bin/pg_basebackup -p 5433 -U postgres -P -v -x --format=tar 
> --gzip --compress=1 --pgdata=- -D /opt/rao *
> 
> While taking the backup we have received below error.
> 
> transaction log start point: 285/8F000080
> 
> **
> 
> pg_basebackup: could not get transaction log end position from server: 
> FATAL:  requested WAL segment 00000001000002850000008F has already been 
> removed
> 
> Please guide me why and how to handle this error. Do you want me to 
> change any of the option in my pg_basebackup command let me know.

-X stream

See link below.

> 
> Please clarify me what it means *--pgdata=--D* in my above 
> *pg_basebackup *command.

https://www.postgresql.org/docs/10/static/app-pgbasebackup.html


> -- 
> Regards,
> Raghavendra Rao J S V
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (3+ messages)

Message-ID: <39913e64-fa15-66af-02ee-c4159e3951e3@aklaver.com>
Permalink:  ../39913e64-fa15-66af-02ee-c4159e3951e3@aklaver.com/
Also on:    postgresql.org/message-id/39913e64-fa15-66af-02ee-c4159e3951e3@aklaver.com

 · 

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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, raghavendrajsv@gmail.com
  Subject: Re: Reeving an error while taking the backup using "pg_basebackup" utility.
  In-Reply-To: <39913e64-fa15-66af-02ee-c4159e3951e3@aklaver.com>
  References: <CAEHH7R5M6Fy-8uNxfsHP4MDMSVHaJpjP=YKrQmMcQw2v_8LeUg@mail.gmail.com> <39913e64-fa15-66af-02ee-c4159e3951e3@aklaver.com>

* 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