📌 bump postgres to v14
This commit is contained in:
parent
0c4ba0a464
commit
19a4053a8c
@ -2,7 +2,7 @@
|
|||||||
services = {
|
services = {
|
||||||
postgresql = {
|
postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.postgresql_12;
|
package = pkgs.postgresql_14;
|
||||||
};
|
};
|
||||||
|
|
||||||
postgresqlBackup = {
|
postgresqlBackup = {
|
||||||
@ -18,10 +18,10 @@
|
|||||||
systemctl stop postgresql
|
systemctl stop postgresql
|
||||||
|
|
||||||
# XXX replace `<new version>` with the psqlSchema here
|
# XXX replace `<new version>` with the psqlSchema here
|
||||||
export NEWDATA="/var/lib/postgresql/12"
|
export NEWDATA="/var/lib/postgresql/14"
|
||||||
|
|
||||||
# XXX specify the postgresql package you'd like to upgrade to
|
# XXX specify the postgresql package you'd like to upgrade to
|
||||||
export NEWBIN="${pkgs.postgresql_12}/bin"
|
export NEWBIN="${pkgs.postgresql_14}/bin"
|
||||||
|
|
||||||
export OLDDATA="${config.services.postgresql.dataDir}"
|
export OLDDATA="${config.services.postgresql.dataDir}"
|
||||||
export OLDBIN="${config.services.postgresql.package}/bin"
|
export OLDBIN="${config.services.postgresql.package}/bin"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user