Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1exWtt-00047r-VC for pgsql-admin@arkaria.postgresql.org; Sun, 18 Mar 2018 11:54:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1exWts-00033y-9D for pgsql-admin@arkaria.postgresql.org; Sun, 18 Mar 2018 11:54:56 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1exWtr-00033p-Uj for pgsql-admin@lists.postgresql.org; Sun, 18 Mar 2018 11:54:56 +0000 Received: from mout.kundenserver.de ([217.72.192.74]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1exWtp-000679-5r for pgsql-admin@lists.postgresql.org; Sun, 18 Mar 2018 11:54:54 +0000 Received: from [127.0.0.1] ([94.139.7.77]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.183]) with ESMTPSA (Nemesis) id 0Mg0zl-1fIcYe0dFN-00NSUK; Sun, 18 Mar 2018 12:54:49 +0100 Subject: Re: Barman backup fails after upgrade to PostgreSQL 10 To: Marco DE BOOIJ , pgsql-admin@lists.postgresql.org References: <0299b66f-c7ef-1c64-4e7f-9dc7d4d4c3a3@debooy.eu> From: "Georg H." Message-ID: Date: Sun, 18 Mar 2018 12:54:49 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <0299b66f-c7ef-1c64-4e7f-9dc7d4d4c3a3@debooy.eu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: de-DE X-Provags-ID: V03:K0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= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello Marco, Am 18.03.2018 um 12:21 schrieb Marco DE BOOIJ: > After my upgrade of PostgreSQL 9.6 to 10.3 the backups through barman > fails. There is not much data change in the database but I still do > not want to loose the data. I have verified the configuration and all > seems correct for Barman and PostgreSQL . I have tried to find the > answer on the internet but I was not able to find it. Both Barman and > PostgreSQL run on the same server. > ... > When I run 'barman backup all' I get the following output: > > ERROR: Backup failed copying files. > DETAILS: data transfer failure on directory > '/srv/share/backup/barman/maat/base/20180317T233002/data' > pg_basebackup error: ... > pg_basebackup: could not connect to server: FATAL:  number of > requested standby connections exceeds max_wal_senders (currently 2) .... > maat 20180317T233002 - FAILED > Have you tried so set max_wal_senders to a higher value? iirc the default value for postgresql10 is max_wal_senders = 10 > In the barman.log there are the following lines around this message > (indicated with ....): > also worth checking is your servers barman conf file (/etc/barman.d/xxx.conf) which has a line at the end pointing to the postgres binaries path to use. What means that you have to have postgresql-client package version 10 on your barman server and have to change your config pointing to the new path. kind regards Georg