pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: PG_Basebackup create bad base.tar file
Date: Sun, 13 Feb 2022 00:24:53 -0600
Message-ID: <12e948b6-5c1c-ea24-48c8-c7034683e1d0@gmail.com> (raw)
In-Reply-To: <CA+=0EReTech8M+jZqxZrLKYieAvQ+tnpck+AwbPZs54MsPasJA@mail.gmail.com>
References: <CA+=0ERc5mNYu7v0X=pzTFzR2BApO=N3B0CijBQNxpM1tP29i3Q@mail.gmail.com>
	<6665f348-a001-8830-f7f1-ba7632dfd155@gmail.com>
	<CA+=0EReTech8M+jZqxZrLKYieAvQ+tnpck+AwbPZs54MsPasJA@mail.gmail.com>

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.

view thread (4+ messages)

Message-ID: <12e948b6-5c1c-ea24-48c8-c7034683e1d0@gmail.com>
Permalink:  ../12e948b6-5c1c-ea24-48c8-c7034683e1d0@gmail.com/
Also on:    postgresql.org/message-id/12e948b6-5c1c-ea24-48c8-c7034683e1d0@gmail.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: PG_Basebackup create bad base.tar file
  In-Reply-To: <12e948b6-5c1c-ea24-48c8-c7034683e1d0@gmail.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