pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: David Steele <david@pgmasters.net>
Cc: chiru r <chirupg@gmail.com>
Cc: Forums postgresql <pgsql-general@postgresql.org>
Subject: Re: PgBackRest question?
Date: Fri, 29 Dec 2017 13:53:27 -0500
Message-ID: <20171229185327.GB23371@tamriel.snowman.net> (raw)
In-Reply-To: <3d8f1f5f-3553-9e02-63cd-efff74ca0b6f@pgmasters.net>
References: <CA+RSxMgR-avEre8eCAkc795iNUiq_S3cmrvS1Lz_Lw6vZxdhPg@mail.gmail.com>
	<e252cb30-9707-3801-f688-75dd2cde4819@pgmasters.net>
	<CA+RSxMgQMmF2af+cqaAXZRbn9-cWGYyMpiLWQOP8Ef9Vceditw@mail.gmail.com>
	<f7da14c5-911f-9216-7c2e-db22101e77cb@pgmasters.net>
	<CA+RSxMjYu_06YY7Ktnqf7ZxoXFn-oJ2fhbL2ssKQxwTy-3j7XA@mail.gmail.com>
	<84f84e41-5bcd-022e-8832-376363ac3fd8@pgmasters.net>
	<CA+RSxMi8QQShEj0bNqiQyZs0Tadiwx1=kMmEsb989ykTgCer_g@mail.gmail.com>
	<4cc3daa2-0839-3df7-3f6e-687a673dd5ca@pgmasters.net>
	<CA+RSxMiqAcg+8OPV81sRLVQsXPA3_5ZEUSKwOVe4ZYFDBcMnzA@mail.gmail.com>
	<3d8f1f5f-3553-9e02-63cd-efff74ca0b6f@pgmasters.net>

Greetings,

* David Steele (david@pgmasters.net) wrote:
> 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

Of course, a full restore should work just fine, this issue occurs
only if you're doing a single-database restore from a cluster.

Presuming you're doing more than just testing, doing a full restore
(and then dropping the databases that you don't want) would be a
workaround until 1.28 is out.

Thanks!

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (18+ messages)  latest in thread

Message-ID: <20171229185327.GB23371@tamriel.snowman.net>
Permalink:  ../20171229185327.GB23371@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20171229185327.GB23371@tamriel.snowman.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: sfrost@snowman.net, david@pgmasters.net, chirupg@gmail.com
  Subject: Re: PgBackRest question?
  In-Reply-To: <20171229185327.GB23371@tamriel.snowman.net>
  References: <CA+RSxMgR-avEre8eCAkc795iNUiq_S3cmrvS1Lz_Lw6vZxdhPg@mail.gmail.com> <e252cb30-9707-3801-f688-75dd2cde4819@pgmasters.net> <CA+RSxMgQMmF2af+cqaAXZRbn9-cWGYyMpiLWQOP8Ef9Vceditw@mail.gmail.com> <f7da14c5-911f-9216-7c2e-db22101e77cb@pgmasters.net> <CA+RSxMjYu_06YY7Ktnqf7ZxoXFn-oJ2fhbL2ssKQxwTy-3j7XA@mail.gmail.com> <84f84e41-5bcd-022e-8832-376363ac3fd8@pgmasters.net> <CA+RSxMi8QQShEj0bNqiQyZs0Tadiwx1=kMmEsb989ykTgCer_g@mail.gmail.com> <4cc3daa2-0839-3df7-3f6e-687a673dd5ca@pgmasters.net> <CA+RSxMiqAcg+8OPV81sRLVQsXPA3_5ZEUSKwOVe4ZYFDBcMnzA@mail.gmail.com> <3d8f1f5f-3553-9e02-63cd-efff74ca0b6f@pgmasters.net> <20171229185327.GB23371@tamriel.snowman.net>

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

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