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
andr...@visena.com <mailto:andr...@visena.com>
www.visena.com <https://www.visena.com>
 <https://www.visena.com>

Reply via email to