MyNixOS website logo
option

services.pgbackrest.stanzas.<name>.instances

An attribute set of database instances as described in: https://pgbackrest.org/configuration.html#section-stanza

Each instance defaults to set pg-host to the attribute's name. The special value "localhost" will unset pg-host.

The prefix pgNNN- is added automatically. Example: Use user instead of pg1-user.
Declarations
Type
attribute set of (attribute set of (boolean or (unsigned integer, meaning >=0) or string or attribute set of string or list of string))
Default
{ }
Example
{
  localhost.database = "app";
  "postgres.example.com".port = "5433";
}