Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUzQM-0004mn-RA for pgsql-general@arkaria.postgresql.org; Fri, 29 Dec 2017 18:30:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUzQM-0006FL-Cy for pgsql-general@arkaria.postgresql.org; Fri, 29 Dec 2017 18:30:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eUzQM-0006FB-5C for pgsql-general@lists.postgresql.org; Fri, 29 Dec 2017 18:30:30 +0000 Received: from mail.thelabyrinth.net ([45.56.70.56]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eUzQI-0000r3-Qz for pgsql-general@postgresql.org; Fri, 29 Dec 2017 18:30:29 +0000 Received: from Davids-iMac.local (c-69-138-180-75.hsd1.va.comcast.net [69.138.180.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id 42A895466C; Fri, 29 Dec 2017 18:30:24 +0000 (UTC) Subject: Re: PgBackRest question? To: chiru r Cc: Stephen Frost , Forums postgresql References: <20171213224505.GT4628@tamriel.snowman.net> <84f84e41-5bcd-022e-8832-376363ac3fd8@pgmasters.net> <4cc3daa2-0839-3df7-3f6e-687a673dd5ca@pgmasters.net> From: David Steele Message-ID: <3d8f1f5f-3553-9e02-63cd-efff74ca0b6f@pgmasters.net> Date: Fri, 29 Dec 2017 13:30:23 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/28/17 6:15 PM, chiru r wrote: > > I am unable to copy the complete backup.manifest file due to security > reasons . please find the below contents. > > [backup:target] > pg_data={"path":"/u02/pgdata01/9.5/data","type":"path"} > pg_tblspc/721349={"path":"/u02/pgdata02/report1","tablespace-id":"721349","tablespace-name":"report1","type":"link"} > > [db] > db1={"db-id":770161,"db-last-system-id":13289} > db2={"db-id":770162,"db-last-system-id":13289} > db3={"db-id":770169,"db-last-system-id":13289} > postgres={"db-id":13294,"db-last-system-id":13289} > template0={"db-id":13289,"db-last-system-id":13289} > template1={"db-id":1,"db-last-system-id":13289} OK -- it looks like this is a bug. pgBackRest is validating the database mappings against the files in the manifest but does not recognize databases that are assigned to a tablespace. It's OK if tables are assigned to a tablespace, but not the entire database. We'll fix this in the next release. I've opened an issue on github to track it: https://github.com/pgbackrest/pgbackrest/issues Thanks! -- -David david@pgmasters.net