mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
nixos/postgresqlBackup: add types
This commit is contained in:
parent
4015c5ca9c
commit
929bf6e678
1 changed files with 3 additions and 0 deletions
|
@ -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.
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue