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
chore(lint): link fix; add frontmatter
as-op49ef2018fb01
diff --git a/docs/installation-and-operations/operation/restoring/README.md b/docs/installation-and-operations/operation/restoring/README.mdindex 2ceb1a67a8c..127d7146ce8 100644--- a/docs/installation-and-operations/operation/restoring/README.md+++ b/docs/installation-and-operations/operation/restoring/README.md@@ -8,7 +8,7 @@ sidebar_navigation:This document describes how to restore a complete backup of OpenProject.-Please look [here](./restoring-a-deleted-project/README.md) if you want to restore a deleted project from a backup.+Please look [here](./restoring-a-deleted-project/) if you want to restore a deleted project from a backup.## Package-based installation (DEB/RPM)diff --git a/docs/installation-and-operations/operation/restoring/restoring-a-deleted-project/README.md b/docs/installation-and-operations/operation/restoring/restoring-a-deleted-project/README.mdindex 3f77a41b926..691a850e7ea 100644--- a/docs/installation-and-operations/operation/restoring/restoring-a-deleted-project/README.md+++ b/docs/installation-and-operations/operation/restoring/restoring-a-deleted-project/README.md@@ -1,3 +1,10 @@+---+sidebar_navigation:+ title: Restoring a deleted project+ priority: 8+keywords: deleted project, restore, restoring+---+# Restoring a deleted projectSometimes it may happen that you delete a project on accident.@@ -37,7 +44,7 @@ the missing data into the current database.Before performing the next step, edit the `dump.sql` file and change the missing project IDto the correct value in the head of the file where it says 'DEFINE MISSING PROJECT ID HERE'.-```+```shellcat dump.sql | psql -d openproject_backuppg_dump -d openproject_backup -t 'missing_*' -f missing_data.sql@@ -47,7 +54,7 @@ pg_dump -d openproject_backup -t 'missing_*' -f missing_data.sqlNow that we have the missing data, we can restore it in the current database.-```+```shellcat missing_data.sql | psql -d openprojectcat restore.sql | psql -d openproject```@@ -68,7 +75,7 @@ and rebuild the hierarchy.To do this, start an OpenProject console (e.g. `sudo openproject run console`) and execute the following.-```+```rubyp = Project.find_by(name: "Restored project")p.update_column :lft, nil