From: Andreas Joseph Krogh <andreas@visena.com>
To: pgsql-general@lists.postgresql.org
Subject: Will Barman support restore of single database?
Date: Fri, 28 Jan 2022 16:05:51 +0100 (CET)
Message-ID: <VisenaEmail.66.6caea3a2481dc9bd.17ea1361482@tc7-visena> (raw)
Hi, pgBackRest supports restoring only specified database:
https://pgbackrest.org/command.html#command-restore
<https://pgbackrest.org/command.html#command-restore;
11.1.3
Include Database Option (--db-include)
Restore only specified databases.
This feature allows only selected databases to be restored. Databases not
specifically included will be restored as sparse, zeroed files to save space
but still allowPostgreSQL to perform recovery. After recovery, the databases
that were not included will not be accessible but can be removed with thedrop
database command.
NOTE:
built-in databases (template0, template1, and postgres) are always restored
unless specifically excluded.
The --db-include option can be passed multiple times to specify more than one
database to include.
See Restore Selected Databases
<https://pgbackrest.org/user-guide.html#restore/option-db-include; for
additional information and caveats.
Are there any plans to add support for this to Barman?
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
andreas@visena.com <mailto:andreas@visena.com>
www.visena.com <https://www.visena.com;
<https://www.visena.com;
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: andreas@visena.com
Subject: Re: Will Barman support restore of single database?
In-Reply-To: <VisenaEmail.66.6caea3a2481dc9bd.17ea1361482@tc7-visena>
References: <VisenaEmail.66.6caea3a2481dc9bd.17ea1361482@tc7-visena>
* 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