Re: pg_basebackup fails with "COPY stream ended"

2021-06-15 Thread Julien Rouhaud
On Tue, Jun 15, 2021 at 09:53:45PM -0700, Dipanjan Das wrote: > > I am running "pg_basebackup -h -U postgres -D -X stream". It > fails with either of the following two error messages: > [...] > WARNING: terminating connection because of crash of another server process > DETAIL: The postmaster

pg_basebackup fails with "COPY stream ended"

2021-06-15 Thread Dipanjan Das
Hi, I am running "pg_basebackup -h -U postgres -D -X stream". It fails with either of the following two error messages: ERROR: Backup failed copying files. DETAILS: data transfer failure on directory '/mnt/data/barman/base/20210615T212304/data' pg_basebackup error: pg_basebackup: initiating