pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: c@osss.net
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Misleading/inaccurate error message from pg_basebackup
Date: Wed, 24 Jan 2024 10:20:48 +0100
Message-ID: <ZbDWcN4YzLDBf4O2@msg.df7cb.de> (raw)
In-Reply-To: <8C23AFD9-4FCA-4FFD-8611-1B81BACCD25A@osss.net>
References: <8C23AFD9-4FCA-4FFD-8611-1B81BACCD25A@osss.net>

Re: c@osss.net
> pg_basebackup can throw an error which is inaccurate and misleading:
> 
> $ mkdir /var/lib/postgresql/14

Hi Casey,

what previous error/message lead you to create that directory? The
data directory should be existing before.

What does `pg_lsclusters` report?

Where is the actual data directory of that cluster?

Christoph





view thread (8+ messages)  latest in thread

Message-ID: <ZbDWcN4YzLDBf4O2@msg.df7cb.de>
Permalink:  ../ZbDWcN4YzLDBf4O2@msg.df7cb.de/
Also on:    postgresql.org/message-id/ZbDWcN4YzLDBf4O2@msg.df7cb.de

 · 

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-bugs@postgresql.org
  Cc: myon@debian.org, c@osss.net, pgsql-bugs@lists.postgresql.org
  Subject: Re: Misleading/inaccurate error message from pg_basebackup
  In-Reply-To: <ZbDWcN4YzLDBf4O2@msg.df7cb.de>

* 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