services: postgresql: upgrade to 16
All checks were successful
flake / build (push) Successful in 3m26s
All checks were successful
flake / build (push) Successful in 3m26s
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
6991c2ee5b
commit
2cb5597d77
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_15;
|
||||
package = pkgs.postgresql_16;
|
||||
enableTCPIP = lib.mkDefault false;
|
||||
initdbArgs = [ "--data-checksums" ];
|
||||
};
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
users.users.postgres.extraGroups = [ "restic-backup" ];
|
||||
|
||||
services.restic.backups.postgresql-15 = {
|
||||
services.restic.backups.postgresql-16 = {
|
||||
environmentFile = secrets."restic/rest-env".path;
|
||||
initialize = true;
|
||||
repository =
|
||||
|
@ -27,7 +27,7 @@
|
|||
paths = [ "/var/backup/postgresql/all.sql.zstd" ];
|
||||
timerConfig.OnCalendar = "*-*-* 4:30:00"; # daily at 04:30
|
||||
backupCleanupCommand = my.mkResticBackupNotificationCmd {
|
||||
name = "postgresql-15";
|
||||
name = "postgresql-16";
|
||||
inherit pkgs secrets;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue