MyNixOS website logo
option

services.pgbackrest.repos

An attribute set of repositories as described in: https://pgbackrest.org/configuration.html#section-repository

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

The prefix repoNNN- is added automatically. Example: Use path instead of repo1-path.
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.path = "/var/lib/backup";
  "backup.example.com".host-type = "tls";
}