Thread: Will Barman support restore of single database?

Will Barman support restore of single database?

From
Andreas Joseph Krogh
Date:

Hi, pgBackRest supports restoring only specified database: 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 allow PostgreSQL to perform recovery. After recovery, the databases that were not included will not be accessible but can be removed with the drop 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 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
Attachment