Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j6WwX-00006X-Hi for pgsql-general@arkaria.postgresql.org; Tue, 25 Feb 2020 09:55:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j6WwW-00069q-AO for pgsql-general@arkaria.postgresql.org; Tue, 25 Feb 2020 09:55:56 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j6WwV-00063n-Hj for pgsql-general@lists.postgresql.org; Tue, 25 Feb 2020 09:55:56 +0000 Received: from mail.dalibo.com ([212.85.157.172]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j6WwQ-0001VP-1K for pgsql-general@postgresql.org; Tue, 25 Feb 2020 09:55:54 +0000 Received: from firost (abordeaux-656-1-246-207.w90-38.abo.wanadoo.fr [90.38.162.207]) by mail.dalibo.com (Postfix) with ESMTPSA id 3472D1FE33; Tue, 25 Feb 2020 10:55:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dalibo.com; s=a; t=1582624546; bh=TgzZ/+2qOBVSf2nu7JPvCydZdHyBTUUJi2+u4FK4Lgs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XLPF6i/46BRL2DACiFsF0PYPtj1gcrapUNxAUTBawgvaQ60U8FGt9VUoP4HsrBbbJ jIdyA8Gmd10rY6jYQHuPVxPK44IGx9sOo0ONicomfnN4Ryh+8RJeUziooa1Cf9b00q o/IfZdhJYGDHzPpfEBd8YqijPQjHkYWR0UruRFNU= Date: Tue, 25 Feb 2020 10:55:44 +0100 From: Jehan-Guillaume de Rorthais To: Edson Richter Cc: Adrian Klaver , pgsql-general Subject: Re: Replication: slave server has 3x size of production server? Message-ID: <20200225105544.7bda4012@firost> In-Reply-To: References: <98f036e0-9bf2-8798-8742-9dba0601fb9a@aklaver.com> <590174e0-256a-fe72-468a-0bcf77ca0df8@aklaver.com> Organization: Dalibo MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sat, 22 Feb 2020 19:23:05 +0000 Edson Richter wrote: [...] > Actually, standby server is sending wals to a backup (barman) server: > > archive_mode = always # enables archiving; off, on, or always > (change requires restart) archive_command = 'rsync -e "ssh -2 -C -p 2022" -az > %p barman@192.168.0.2:/dados/barman/dbcluster/incoming/%f' > > > The files are about 7 months old. Did you check the return code of your archive_command? Did you check the log produced by your archive_command and postmaster? How many files with ".ready" extension in "$PGDATA/pg_xlog/archive_status/"? Can you confirm there's no missing WAL between the older one and the newer one in "$PGDATA/pg_xlog" in alphanum order?