postgresql.tests.postgresql.postgresql-backup-all: fix random dump

The new `\restrict` migitation creates random keys in the dump file by
default, which breaks a before/after test for the backup module. By
making the restrict key reproducible, the test passes again.
This commit is contained in:
Wolfgang Walther
2025-08-15 12:24:15 +02:00
parent d826eeab52
commit 87e1134406
2 changed files with 3 additions and 5 deletions

View File

@@ -65,6 +65,7 @@ let
services.postgresqlBackup = {
enable = true;
databases = lib.optional (!backupAll) "postgres";
pgdumpOptions = "--restrict-key=ABCDEFGHIJKLMNOPQRSTUVWXYZ";
};
};