Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Update README.md

Oliver Günther8664fd3db6c2
diff --git a/docs/installation-and-operations/misc/upgrading-older-openproject-versions/README.md b/docs/installation-and-operations/misc/upgrading-older-openproject-versions/README.md
index 1cdfe62be8a..d07d46708b3 100644
--- a/docs/installation-and-operations/misc/upgrading-older-openproject-versions/README.md
+++ b/docs/installation-and-operations/misc/upgrading-older-openproject-versions/README.md
@@ -64,8 +64,10 @@ You can simply upgrade your package first and then switch to a PostgreSQL databa
3. After this is completed, stop the servers to restore the database separately
`service openproject stop`
+
+The following command will restore the database. **WARNING:** This will remove the database returned by `openproject config:get DATABASE_URL`, so please double check this is what you want to do:
- `pg_restore --dbname $(openproject config:get DATABASE_URL) /path/to/migrated/postgresql.dump`
+ `pg_restore --clean --if-exists --dbname $(openproject config:get DATABASE_URL) /path/to/migrated/postgresql.dump`
4. Execute configure script to ensure the migrations are complete and to restart the server