pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PG_Basebackup create bad base.tar file
4+ messages / 2 participants
[nested] [flat]

* PG_Basebackup create bad base.tar file
@ 2022-02-10 18:08 Avihai Shoham <avihai.shoham@gmail.com>
  2022-02-11 01:49 ` Re: PG_Basebackup create bad base.tar file Ron <ronljohnsonjr@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Avihai Shoham @ 2022-02-10 18:08 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org

Hi All ,

lately i'm getting  this error when open base.tar.
Any idea why pg_basebackup created bad tar file? and how to fix it?

Thanks!
Avihai


*tar xOf base.tar > /dev/null*

*tar: Unexpected EOF in archive*

*tar: rmtlseek not stopped at a record boundary*
*tar: Error is not recoverable: exiting now*

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

* Re: PG_Basebackup create bad base.tar file
  2022-02-10 18:08 PG_Basebackup create bad base.tar file Avihai Shoham <avihai.shoham@gmail.com>
@ 2022-02-11 01:49 ` Ron <ronljohnsonjr@gmail.com>
  2022-02-13 03:24   ` Re: PG_Basebackup create bad base.tar file Avihai Shoham <avihai.shoham@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Ron @ 2022-02-11 01:49 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org

On 2/10/22 12:08 PM, Avihai Shoham wrote:
> Hi All ,
>
> lately i'm gettingĀ  this error when open base.tar.
> Any idea why pg_basebackup created bad tar file? and how to fix it?
>
> Thanks!
> Avihai
>
> *tar xOf base.tar > /dev/null
> *
> *tar: Unexpected EOF in archive
> *
> *tar: rmtlseek not stopped at a record boundary
> *
> *tar: Error is not recoverable: exiting now*

Disk full?

Next time, capture stdout and stderr in a log file, and also the return code.

-- 
Angular momentum makes the world go 'round.

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

* Re: PG_Basebackup create bad base.tar file
  2022-02-10 18:08 PG_Basebackup create bad base.tar file Avihai Shoham <avihai.shoham@gmail.com>
  2022-02-11 01:49 ` Re: PG_Basebackup create bad base.tar file Ron <ronljohnsonjr@gmail.com>
@ 2022-02-13 03:24   ` Avihai Shoham <avihai.shoham@gmail.com>
  2022-02-13 06:24     ` Re: PG_Basebackup create bad base.tar file Ron <ronljohnsonjr@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Avihai Shoham @ 2022-02-13 03:24 UTC (permalink / raw)
  To: Ron <ronljohnsonjr@gmail.com>; +Cc: pgsql-admin@lists.postgresql.org

Thank you Ron ,

Disk is not full.
Do you mean to run pg_basebackup with stdout and stderr ? i'm newbie in
postgres.

Thank you
Avihai

On Fri, Feb 11, 2022 at 3:49 AM Ron <ronljohnsonjr@gmail.com> wrote:

> On 2/10/22 12:08 PM, Avihai Shoham wrote:
>
> Hi All ,
>
> lately i'm getting  this error when open base.tar.
> Any idea why pg_basebackup created bad tar file? and how to fix it?
>
> Thanks!
> Avihai
>
>
> *tar xOf base.tar > /dev/null *
>
> *tar: Unexpected EOF in archive *
>
> *tar: rmtlseek not stopped at a record boundary *
> *tar: Error is not recoverable: exiting now*
>
>
> Disk full?
>
> Next time, capture stdout and stderr in a log file, and also the return
> code.
>
> --
> Angular momentum makes the world go 'round.
>

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

* Re: PG_Basebackup create bad base.tar file
  2022-02-10 18:08 PG_Basebackup create bad base.tar file Avihai Shoham <avihai.shoham@gmail.com>
  2022-02-11 01:49 ` Re: PG_Basebackup create bad base.tar file Ron <ronljohnsonjr@gmail.com>
  2022-02-13 03:24   ` Re: PG_Basebackup create bad base.tar file Avihai Shoham <avihai.shoham@gmail.com>
@ 2022-02-13 06:24     ` Ron <ronljohnsonjr@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Ron @ 2022-02-13 06:24 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org

Redirect stdout and stderr to a log file next time you run pg_basebackup.

On 2/12/22 9:24 PM, Avihai Shoham wrote:
> Thank you Ron ,
>
> Disk is not full.
> Do you mean to run pg_basebackup with stdout and stderr ? i'm newbie in 
> postgres.
>
> Thank you
> Avihai
>
> On Fri, Feb 11, 2022 at 3:49 AM Ron <ronljohnsonjr@gmail.com 
> <mailto:ronljohnsonjr@gmail.com>> wrote:
>
>     On 2/10/22 12:08 PM, Avihai Shoham wrote:
>>     Hi All ,
>>
>>     lately i'm gettingĀ  this error when open base.tar.
>>     Any idea why pg_basebackup created bad tar file? and how to fix it?
>>
>>     Thanks!
>>     Avihai
>>
>>     *tar xOf base.tar > /dev/null
>>     *
>>     *tar: Unexpected EOF in archive
>>     *
>>     *tar: rmtlseek not stopped at a record boundary
>>     *
>>     *tar: Error is not recoverable: exiting now*
>
>     Disk full?
>
>     Next time, capture stdout and stderr in a log file, and also the
>     return code.
>
>     -- 
>     Angular momentum makes the world go 'round.
>

-- 
Angular momentum makes the world go 'round.

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


end of thread, other threads:[~2022-02-13 06:24 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-02-10 18:08 PG_Basebackup create bad base.tar file Avihai Shoham <avihai.shoham@gmail.com>
2022-02-11 01:49 ` Ron <ronljohnsonjr@gmail.com>
2022-02-13 03:24   ` Avihai Shoham <avihai.shoham@gmail.com>
2022-02-13 06:24     ` Ron <ronljohnsonjr@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