We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e306d5 commit ce8e5b4Copy full SHA for ce8e5b4
1 file changed
nixos/modules/services/backup/postgresql-backup.nix
@@ -122,7 +122,8 @@ in
122
123
pgdumpOptions = lib.mkOption {
124
type = lib.types.separatedString " ";
125
- default = "-C";
+ default = lib.optionalString (!cfg.backupAll) "-C";
126
+ defaultText = "-C (if not backing up all databases)";
127
description = ''
128
Command line options for pg_dump. This options is not used if
129
`config.services.postgresqlBackup.backupAll` is enabled. Note that
0 commit comments