This PR continues the work started in https://github.com/ibizaman/selfhostblocks/pull/314 I had to create my own PR since I couldn't add commits on the fork. --------- Co-authored-by: sivertism <10866270+sivertism@users.noreply.github.com>
1.1 KiB
1.1 KiB
PostgreSQL Block
Defined in /modules/blocks/postgresql.nix.
This block sets up a PostgreSQL database.
Tests
Specific integration tests are defined in /test/blocks/postgresql.nix.
Database Backup Requester Contracts
This block can be backed up using the database backup contract.
Contract integration tests are defined in /test/contracts/databasebackup.nix.
Backing up All Databases
{
my.backup.provider."postgresql" = {
request = config.shb.postgresql.databasebackup;
settings = {
// Specific options for the backup provider.
};
};
}
Options Reference
id-prefix: blocks-postgresql-options-
list-id: selfhostblocks-block-postgresql-options
source: @OPTIONS_JSON@