summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-02-01 12:39:20 +0100
committerGitHub <noreply@github.com>2021-02-01 12:39:20 +0100
commitd76eec858c5046ec30e4e0f794230f7822dd3ffe (patch)
tree6047181468394cf8735c5e59a446783699e6e7ad
parentda0d1a324f05cf5b8ec075bff818eb0a3bea1ca7 (diff)
parent929bf6e678bc52185acaaa78fa94232c2fda510a (diff)
Merge pull request #111427 from helsinki-systems/postgresql
-rw-r--r--nixos/modules/services/backup/postgresql-backup.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/backup/postgresql-backup.nix b/nixos/modules/services/backup/postgresql-backup.nix
index 428861a7598a..f4bd3aa447e5 100644
--- a/nixos/modules/services/backup/postgresql-backup.nix
+++ b/nixos/modules/services/backup/postgresql-backup.nix
@@ -48,6 +48,7 @@ in {
startAt = mkOption {
default = "*-*-* 01:15:00";
+ type = types.str;
description = ''
This option defines (see <literal>systemd.time</literal> for format) when the
databases should be dumped.
@@ -70,6 +71,7 @@ in {
databases = mkOption {
default = [];
+ type = types.listOf types.str;
description = ''
List of database names to dump.
'';
@@ -77,6 +79,7 @@ in {
location = mkOption {
default = "/var/backup/postgresql";
+ type = types.path;
description = ''
Location to put the gzipped PostgreSQL database dumps.
'';