pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: vrms <vrms@netcologne.de>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Restoration
Date: Sat, 22 Jun 2024 23:06:52 +0200
Message-ID: <9832caf9-81f0-4dc6-98a8-840cb872076e@netcologne.de> (raw)
In-Reply-To: <CAB5fag7RM0e_Owi3JrYmMyX727XyBZereCDssSNTuMvNL-iADA@mail.gmail.com>
References: <CAB5fag7RM0e_Owi3JrYmMyX727XyBZereCDssSNTuMvNL-iADA@mail.gmail.com>

hi,

On 6/22/24 10:11 PM, Wasim Devale wrote:
> Can I restore backup from barman which has postgresql 12 version's 
> backup to postgresql 13? Will the extension's work. Please advise or 
> any suggestions.

without being 100% certain, I would say ...

   1. barman creates a physical copy of the data directory
   2. the data directory does work for the version it was created with 
via initdb
       so you can not just run your pg12 restore on a pg13 instance
   3. restoring the data directory plus running pg_upgrade should do the 
job though





view thread (8+ messages)  latest in thread

Message-ID: <9832caf9-81f0-4dc6-98a8-840cb872076e@netcologne.de>
Permalink:  ../9832caf9-81f0-4dc6-98a8-840cb872076e@netcologne.de/
Also on:    postgresql.org/message-id/9832caf9-81f0-4dc6-98a8-840cb872076e@netcologne.de

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: vrms@netcologne.de, pgsql-admin@lists.postgresql.org
  Subject: Re: Restoration
  In-Reply-To: <9832caf9-81f0-4dc6-98a8-840cb872076e@netcologne.de>

* 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