Re: Basebackup fails without useful error message

From: Muhammad Usman Khan <usman(dot)k(at)bitnine(dot)net>
To: Koen De Groote <kdg(dot)dev(at)gmail(dot)com>
Cc: PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Basebackup fails without useful error message
Date: 2024-09-30 03:17:46
Message-ID: CAPnRvGuW-YUPQJ32F3jfQWLjwLtEUp_+ayASk4vRZ008TNgTRw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
You can enable verbose to get more detail about what is happening during
backup
pg_basebackup -h your_host -U your_user -D /mnt/base_backup/dir/ -v
Also examine recent postgres logs
Verify backup directory permissions

On Sun, 29 Sept 2024 at 19:49, Koen De Groote <kdg(dot)dev(at)gmail(dot)com> 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/"
>
> Is there a way to get more information as to what exactly happened?
>
> 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
>

In response to

Browse pgsql-general by date

  From Date Subject
Previous Message Tom Lane 2024-09-30 02:05:35 Re: Failing GSSAPI TCP when connecting to server