Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIL4E-0007T9-JA for pgsql-admin@arkaria.postgresql.org; Fri, 11 Feb 2022 01:49:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nIL4C-0001ah-H0 for pgsql-admin@arkaria.postgresql.org; Fri, 11 Feb 2022 01:49:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIL4C-0001aX-3V for pgsql-admin@lists.postgresql.org; Fri, 11 Feb 2022 01:49:44 +0000 Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nIL47-0001II-Ah for pgsql-admin@lists.postgresql.org; Fri, 11 Feb 2022 01:49:43 +0000 Received: by mail-oi1-x22e.google.com with SMTP id y23so7987541oia.13 for ; Thu, 10 Feb 2022 17:49:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=ZZKE/5J5ulecnFKSqlwheX8PlST47+aV4mp0j5kCmek=; b=M5MjwhAkoQqAU/J1pObc8O1rkdqaUqTVmveaz7UysP27+5V/PG4M7W64eFnEYS3J6U A0ySQwtS13p2vvU+I0ZOkQtB7hxqmjZQjhE7Z+8eD/a+k39XUDhyOfD0D5OSgKFJOq7C jhALloBIE9NCqhxmKpkCasK8uzvParIeocASIojXCBlgFbQPLlb2XmmrwUEtfi03KF95 uskxfAKYmEtUDb6giwB/Mh63iKQqJuLzvXD63M0bR+3M/m+8iM/+hwfcKQesMBwOyWWF AkQEdYxMi0TxVdedp+RqQpHpnLyQyyxofU6uMMvp21XiMCLDXfJ2QgWct5o2hdcTuQhR xDXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=ZZKE/5J5ulecnFKSqlwheX8PlST47+aV4mp0j5kCmek=; b=pgJqiHMsE8L4epyT2NncA0HMrIDJwI1fPPBVAWYP31EYY1OLTUK1N2UjSYHjDkVVfc NXYRq0I2x/4y4RuujGCKDIzcjOAeNKDt11Tih+mhLR+g7Hkc6IaYA8qHeI4jL4uOjHkW O1UE4V1gTt6JwbDZmoK7xeDE5DHJal+UL1lEcMqu6Q62P5o7Gz0O/DisAnYQSc/Uk60W FoThPpePYaUSmUFt9isJILOkEnmmno/Nzuxw5cxILOlpxGuM7fIqH65S8hF0zsO0k6C8 ooEiV9jOcfCx3edwFlcut7UOlkaiUcmBBI06+1/kV8gmvpBy9HCk8hE1oCBWYkrcV1Y9 n2XA== X-Gm-Message-State: AOAM533n35X1/0WhbusfKpPMNAIkBCZy+bdTDVYTHznx5SjRYzxDFQZj satQvi0GOcZJInAz7GOmqdKR8ZyMtIo= X-Google-Smtp-Source: ABdhPJxc19gqevSeRPzAD1C6n7RicgowvbGczvtIypMQpQb4oMFfS2iMMRA86ozc/pThrNDJhiNmvw== X-Received: by 2002:aca:aa14:: with SMTP id t20mr98781oie.302.1644544177052; Thu, 10 Feb 2022 17:49:37 -0800 (PST) Received: from [192.168.88.10] (ip68-11-68-85.no.no.cox.net. [68.11.68.85]) by smtp.googlemail.com with ESMTPSA id m5sm8560480otk.78.2022.02.10.17.49.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Feb 2022 17:49:36 -0800 (PST) Subject: Re: PG_Basebackup create bad base.tar file To: pgsql-admin@lists.postgresql.org References: From: Ron Message-ID: <6665f348-a001-8830-f7f1-ba7632dfd155@gmail.com> Date: Thu, 10 Feb 2022 19:49:35 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------9FE72F63954D4B845331F168" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------9FE72F63954D4B845331F168 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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. --------------9FE72F63954D4B845331F168 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit 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.
--------------9FE72F63954D4B845331F168--