Re: Basebackup fails without useful error message

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Koen De Groote <kdg(dot)dev(at)gmail(dot)com>, PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Basebackup fails without useful error message
Date: 2024-09-29 15:01:04
Message-ID: 52afa4c9-7393-4265-88bb-6393f1b0fb03@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Koen De Groote 2024-09-29 15:57:39 Re: Basebackup fails without useful error message
Previous Message Koen De Groote 2024-09-29 14:48:54 Basebackup fails without useful error message