From a8c1da86947f030d8407f744ad732be6497fdd43 Mon Sep 17 00:00:00 2001 From: mikhail-klimko Date: Wed, 15 Feb 2023 22:34:02 +0300 Subject: [PATCH 1/2] fix typo (#571) --- _docs/administration/codefresh-on-prem-upgrade.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_docs/administration/codefresh-on-prem-upgrade.md b/_docs/administration/codefresh-on-prem-upgrade.md index 458a70862..7dcd5863e 100644 --- a/_docs/administration/codefresh-on-prem-upgrade.md +++ b/_docs/administration/codefresh-on-prem-upgrade.md @@ -514,7 +514,7 @@ kubectl port-forward --namespace codefresh svc/cf-postgresql 5432:5432 Restore the contents of the backup into the new release using the *pg_restore* tool. If this tool is not available on your system, mount the directory containing the backup files as a volume in Bitnami's PostgreSQL Docker container and use the *pg_restore* client tool in the container image to import the backup into the new cluster, as shown below: ```shell cd psqlbackup -docker run --rm --name postgresql-backup -e PGPASSWORD=$PGPASSWORD -v $(pwd):/app --net="host" bitnami/postgresql:13 pg_restore --Fc --create --dbname postgres -h host.docker.internal -p 5432 /app/audit.dump +docker run --rm --name postgresql-backup -e PGPASSWORD=$PGPASSWORD -v $(pwd):/app --net="host" bitnami/postgresql:13 pg_restore -Fc --create --dbname postgres -h host.docker.internal -p 5432 /app/audit.dump ``` ##### Backup and restore via Helm hooks From 33ad0026f4ea501d189ee746d515aeabe10e1621 Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Tue, 21 Feb 2023 14:56:59 +0300 Subject: [PATCH 2/2] note for onprem-1.4 upgrade --- _docs/administration/codefresh-on-prem-upgrade.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/_docs/administration/codefresh-on-prem-upgrade.md b/_docs/administration/codefresh-on-prem-upgrade.md index 7dcd5863e..ef79f68f7 100644 --- a/_docs/administration/codefresh-on-prem-upgrade.md +++ b/_docs/administration/codefresh-on-prem-upgrade.md @@ -471,6 +471,12 @@ From version **1.4.0 and higher**, we have deprecated support for the `Codefresh > If you run [**external** Postgresql service]({{site.baseurl}}/docs/administration/codefresh-on-prem/#configuring-an-external-postgres-database) (i.e. `postgresql.enabled=false` is specified in `config.yaml`), you can skip the following instruction. +> **Important!** Run the upgrade with `global.seedJobs=true` flag: +```yaml +global: + seedJobs: true +``` + ##### Manual backup and restore **Before the upgrade:** @@ -547,6 +553,12 @@ From version **1.4.0 and higher**, we have deprecated support for the `Codefresh > If you run [**external** MongoDB service]({{site.baseurl}}/docs/administration/codefresh-on-prem/#configuring-an-external-mongodb) (i.e. `mongo.enabled=false` is specified in `config.yaml`), you can skip the following instruction. +> **Important!** Run the upgrade with `global.seedJobs=true` flag: +```yaml +global: + seedJobs: true +``` + ##### Manual backup and restore **Before the upgrade:**