Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1suwJ9-00BLO9-0f for pgsql-general@arkaria.postgresql.org; Sun, 29 Sep 2024 15:58:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1suwJ6-005ygS-Vm for pgsql-general@arkaria.postgresql.org; Sun, 29 Sep 2024 15:58:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1suwJ6-005ygJ-Ir for pgsql-general@lists.postgresql.org; Sun, 29 Sep 2024 15:58:00 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1suwIy-001hUt-Pv for pgsql-general@lists.postgresql.org; Sun, 29 Sep 2024 15:57:59 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-42cb6f3a5bcso44734245e9.2 for ; Sun, 29 Sep 2024 08:57:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727625472; x=1728230272; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=PzOwtlDU01wMXyTuc+bVhnF5o3A/UjDpxaJlOSZ7f5A=; b=ZTrnxe/B7aLp5vIienTfuhUo+wb9wEuv/RtxvZlsqbIcKAQlpsCMmTR2WKdbwV635/ 9F6dyTclrgYZ54nFXgktM8yOv4hWiA/EtjN18T4SFR3VTIFs67h6TMvu/G1T0k3SSmnT CbprczCzjpHI4pjFWxZJ6U0iEdeR0UQ6dK4QmnHTgyrQzvJ48oeBdduoU+qaLNsXzG5y Jrs64XMzKMR3pbVp9b43zD8hKsRNsQWYCOOizr0kXjW59GQcDH7ODP7pTP1Ifct0pXyS zZAAt1wjXPYAF83TPkrJ1uSrF2FbXLyyXoI0rVWVUmpnnBfEr1LHwaCwDX0ZVl4k3RK9 t5aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727625472; x=1728230272; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PzOwtlDU01wMXyTuc+bVhnF5o3A/UjDpxaJlOSZ7f5A=; b=FSpDuxOxvbXeZl2W75EGqAxUuRxRdCbmU79J6P+RwlcKxgIRgPF7LjtHZ8cyLtLa5u jHa5crjWned/AKwg0KssHJf3z9zvgS5/AD2kmVE9JizRViiPFd4kcARFLfBW4mBU6lzV s4QLqvBOZyGqoM+E99JxtT3HDlX7XGsXpYw0ZgfLkw216lyfqoiQXjjqP9Wro0/vnNhi T5aV+qHtTDfLP3TfIX2duipGeaWJBS0aK3d57l6SgK0vt7IVYv4prQ1oWukEAi6imcfB z7itDPKHSWXe7EY78pRJidilz8hCLtf6oBHVCK3y62qeRs5HefO7JOM4qhTnz+QYbAdH vZ+A== X-Gm-Message-State: AOJu0YwLqMg5Q9Z7jD4CUZHbIUmqaUyiqU2OVrjEthhl8wnGgB/A51cl zCY5ZlqmLh35D6SN/jwwGg605/FeayQBGE2P3vkLbYNOiYHkS/uJbJ88wAYKHBjboipsgbV8UDb rV10q32Q3+SdvNdeRINTN3tpO7YkKbsya X-Google-Smtp-Source: AGHT+IGnJdOxnA3bV+8ogaamTu65M2P2pY51bflKmG4cfTUXIqwh+O+s7B4VUUwcKKzWWpf4UCoLpqh2GOBbhacFejw= X-Received: by 2002:a05:600c:3b17:b0:428:d31:ef25 with SMTP id 5b1f17b1804b1-42f5843419cmr101140415e9.12.1727625471842; Sun, 29 Sep 2024 08:57:51 -0700 (PDT) MIME-Version: 1.0 References: <52afa4c9-7393-4265-88bb-6393f1b0fb03@aklaver.com> In-Reply-To: <52afa4c9-7393-4265-88bb-6393f1b0fb03@aklaver.com> From: Koen De Groote Date: Sun, 29 Sep 2024 17:57:39 +0200 Message-ID: Subject: Re: Basebackup fails without useful error message To: Adrian Klaver Cc: PostgreSQL General Content-Type: multipart/alternative; boundary="0000000000008ddf8e0623442695" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000008ddf8e0623442695 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > What is the complete command you are using? The full command is: pg_basebackup -h localhost -p 5432 -U basebackup_user -D /mnt/base_backup/dir -Ft -z -P So output Format as tar, gzipped, and with progress being printed. > Have you looked at the Postgres log? > Is --verbose being used? This is straight from the logs, it's the only output besides the % progress counter. Will have a look at --verbose. Regards, Koen De Groote On Sun, Sep 29, 2024 at 5:01=E2=80=AFPM Adrian Klaver wrote: > On 9/29/24 07:48, Koen De Groote wrote: > > Having run a basebackup, I'm getting this output at the very end: > > > > pg_basebackup: child process exited with error 1 > > pg_basebackup: removing contents of data directory > "/mnt/base_backup/dir/" > > What is the complete command you are using? > > > > > Is there a way to get more information as to what exactly happened? > > Have you looked at the Postgres log? > > Is --verbose being used? > > > > > I'd like to look into fixing this or doing whatever is required so that > > it doesn't happen again, but this just isn't enough info. Where do I > > start looking? > > > > Regards, > > Koen De Groote > > -- > Adrian Klaver > adrian.klaver@aklaver.com > > --0000000000008ddf8e0623442695 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> What is the complete command you are using?

The fu= ll command is:

pg_basebackup -h localhost -p 5432 = -U basebackup_user -D /mnt/base_backup/dir -Ft -z -P

So output Format as tar, gzipped, and with progress being printed.

> Have you looked at the Postgres log?

> Is --verbose being used?

This is straight from the logs, it's the only= output besides the % progress counter.

Will have = a look at --verbose.

Regards,
Koen De Gr= oote

On Sun, Sep 29, 2024 at 5:01=E2=80=AFPM Adrian Klaver <<= a href=3D"mailto:adrian.klaver@aklaver.com">adrian.klaver@aklaver.com&g= t; wrote:
On 9/2= 9/24 07:48, Koen De Groote wrote:
> Having run a basebackup, I'm getting this output at the very end:<= br> >
> pg_basebackup: child process exited with error 1
> pg_basebackup: removing contents of data directory "/mnt/base_bac= kup/dir/"

What is the complete command you are using?

>
> Is there a way to get more information as to what exactly happened?
Have you looked at the Postgres log?

Is --verbose being used?

>
> I'd like to look into fixing this or doing whatever is required so= that
> it doesn't happen again, but this just isn't enough info. Wher= e do I
> start looking?
>
> Regards,
> Koen De Groote

--
Adrian Klaver
adrian.klave= r@aklaver.com

--0000000000008ddf8e0623442695--