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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Update README.md
Oliver Günther8553d21f994d
diff --git a/docs/installation-and-operations/misc/migration/README.md b/docs/installation-and-operations/misc/migration/README.mdindex 683795b5308..0f344009b42 100644--- a/docs/installation-and-operations/misc/migration/README.md+++ b/docs/installation-and-operations/misc/migration/README.md@@ -10,7 +10,7 @@ To create a dump of all your data in the old installation, please follow our [baThis guide should leave you with a set of archives that you should manually move to your new environment:-- **Database**: mysql-dump-\<timestamp>.sql.gz or postgresql-dump\<timestamp>.pgdump+- **Database**: postgresql-dump\<timestamp>.pgdump- **Attachments**: attachments-\<timestamp>.tar.gz- **Custom env configuration**: conf-\<timestamp>.tar.gz- **Repositories**: svn- and git-\<timestamp>.tar.gz@@ -42,7 +42,7 @@ You can simply look through the installer.dat and change those values you need.Additional environment, either generated from the wizard or entered by you through `openproject config:set` is written to `/etc/openproject/conf.d/{server,database,other}`. Also look through those and check which contain relevant values for your new installation.-### Database+### PostgreSQL databaseOn your new host or cluster, ensure you have created a database user and database, ideally using the same names as the old environment (You may want to choose a different random password, however).@@ -51,30 +51,17 @@ To read the values from the old installation, you can execute the following comm```bashopenproject config:get DATABASE_URL-#=> e.g.: mysql2://dbusername:dbpassword@dbhost:dbport/dbname+#=> e.g.: postgres://dbusername:dbpassword@dbhost:dbport/dbname```First the dump has to be extracted (unzipped) and then restored. The command used should look very similar to this:-**PostgreSQL**-```# Restore the PostgreSQL dumppg_restore -h <dbhost> -u <dbuser> -W <dbname> --clean postgresql-dump-20180408095521.pgdump```--**MySQL**--```bash-# Extract the mysql dump-zcat mysql-dump-20180408095521.sql.gz | mysql -u <dbuser> -h <dbhost> -p-<dbname>-```---### AttachmentsYour storage path can be shown on the old installation can be shown using the following command: