public inbox for [email protected]  
help / color / mirror / Atom feed
From: Justin Pryzby <[email protected]>
To: Jeevan Ladhe <[email protected]>
Cc: Robert Haas <[email protected]>
Cc: Alvaro Herrera <[email protected]>
Cc: Shinoda, Noriyoshi (PN Japan FSIP) <[email protected]>
Cc: Dipesh Pandit <[email protected]>
Cc: Abhijit Menon-Sen <[email protected]>
Cc: Dmitry Dolgov <[email protected]>
Cc: Jeevan Ladhe <[email protected]>
Cc: Mark Dilger <[email protected]>
Cc: [email protected]
Cc: tushar <[email protected]>
Cc: Andres Freund <[email protected]>
Subject: Re: refactoring basebackup.c
Date: Thu, 10 Mar 2022 19:02:23 -0600
Message-ID: <[email protected]> (raw)
In-Reply-To: <CANm22CiVwmix7JGOGhJYsbNt9M8AH-svG2HQfPP=MdZ2kMHfzw@mail.gmail.com>
References: <CA+Tgmoa+TSF2a=Bi8dnU-uzq2J6ebkBSUXDJ3MFiBHpn1Jrq3A@mail.gmail.com>
	<CANm22CihmbpW8pn6W=9OuPatuFP3Wmi6BHTUk8COdgUxOh=qDA@mail.gmail.com>
	<CA+TgmoaMmDZh=r16tuEUFBRsiipa8zX-stqsO70kE3FOBnLCfw@mail.gmail.com>
	<CANm22Cim1JFzvbk+N7EynYRpovmhhAU5btxC=QUDDtzccnKjDQ@mail.gmail.com>
	<CA+Tgmobyzfbz=gyze2_LL1ZumZunmaEKbHQxjrFkOR7APZGu-g@mail.gmail.com>
	<CANm22CgVMa85O1akgs+DOPE8NSrT1zbz5_vYfS83_r+6nCivLQ@mail.gmail.com>
	<CA+Tgmoap+hTD2-QNPJLH4tffeFE8MX5+xkbFKMU3FKBy=ZSNKA@mail.gmail.com>
	<CANm22Ciseat_kJwY_vixu6Wen48E7EVV5E+tWzZ9qN7SYJYOfQ@mail.gmail.com>
	<CA+TgmoZZmZctarpJyRiLNcePeTUS0z-Y75tAPUnFYQvRcj1Xzw@mail.gmail.com>
	<CANm22CiVwmix7JGOGhJYsbNt9M8AH-svG2HQfPP=MdZ2kMHfzw@mail.gmail.com>

I'm getting errors from pg_basebackup when using both -D- and --compress=server-*
The issue seems to go away if I use --no-manifest.

$ ./src/bin/pg_basebackup/pg_basebackup -h /tmp -Ft -D- --wal-method none --compress=server-gzip >/dev/null ; echo $?
pg_basebackup: error: tar member has empty name
1

$ ./src/bin/pg_basebackup/pg_basebackup -h /tmp -Ft -D- --wal-method none --compress=server-gzip >/dev/null ; echo $?
NOTICE:  WAL archiving is not enabled; you must ensure that all required WAL segments are copied through other means to complete the backup
pg_basebackup: error: COPY stream ended before last file was finished
1






view thread (51+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: refactoring basebackup.c
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox