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
[#43906] Single source of truth for GUI backup feature in Cloud and On-premises
adam-opd0b4d9a33f8f
diff --git a/docs/enterprise-guide/enterprise-cloud-guide/backups/README.md b/docs/enterprise-guide/enterprise-cloud-guide/backups/README.mdindex fe1ae521377..1f04beac742 100644--- a/docs/enterprise-guide/enterprise-cloud-guide/backups/README.md+++ b/docs/enterprise-guide/enterprise-cloud-guide/backups/README.md@@ -8,36 +8,11 @@ keywords: backups# Backups-Your Enterprise cloud data is backed up continuously and retained for 30 days.-Within those 30 days we can restore your data to any point in time with a precision of 5 minutes, in case you need us to.+*For a single source of truth, we moved this information*-## Download+**[Please click here to navigate to the new location](../../../system-admin-guide/backup/)**-You can yourself create backups of your OpenProject installation. Go to *Administration* and *Backup* to get started.--You will then need to create a backup token by clicking **+ Backup token**.--The system generates the token which you then fill in where requested in the field below.----After having **requested the backup**, you will receive an email notification with a link to download your backup. For this, you will need additional authentication (username and password as well as 2-Factor-Authentication if activated) to download the backup files.--In case you have trouble creating your backup, please [get in touch](mailto:[email protected]) with us. We can then provide a current or past backup (database + attachments) to you.--This way you can also get your data if you decide to stop using the Enterprise cloud edition.--## Pull a backup via APIv3--It is sometimes good to have backups on other locations (e.g. local vs cloud). You are able to pull a backup via the APIv3 in OpenProject.--*Preconditions:*--1. The Token must be already generated and stored in a secure keystore-2. The API Key must be known and stored in a secure keystore--You could use our [example bash script](/script/backup-via-apiv3.sh) and integrate it in your crond for running it daily.diff --git a/docs/system-admin-guide/backup/README.md b/docs/system-admin-guide/backup/README.mdindex 24010600ed2..d72f0195603 100644--- a/docs/system-admin-guide/backup/README.md+++ b/docs/system-admin-guide/backup/README.md@@ -7,28 +7,46 @@ keywords: system backup---# Backup-Unless disabled via the [configuration](../../installation-and-operations/configuration/#backup-enabled)-users can make backups of the OpenProject installation from within the administration area.-They either need to be an administrator or have the global permission to do so.+## Enterprise cloud-+Your Enterprise cloud data is backed up continuously and retained for 30 days. Within those 30 days we can restore your data to any point in time with a precision of 5 minutes, in case you need us to.-## Backup token+*Note: At the moment it is only possible to restore the complete instance into a former state. All future edits after the former state will be not available in the restored instance. In order to offer you the possibility of recreating the restored information to your productive instance, the restored version is temporarily available on a separate URL. You will have all the time you need to clone the lost information from the temporary instance to the production one. This could be done by using e.g. API calls or manual interaction.*-To be able to create a backup, a so called _backup token_ has to be generated first.-This is supposed to add another level of security since backing up the whole installation-includes sensitive data.+## Preparation for Backup-You will be asked to confirm your password when you try to generate or reset a token.-The _backup token_ will only be displayed once after it has been generated.-Make sure you store it in a safe place.+Unless disabled via the [configuration](../../installation-and-operations/configuration/#backup-enabled) users can make backups of the OpenProject installation from within the administration area. They either need to be an administrator or have the global permission to do so.-Each time you request a backup this token has to be provided.-This also applies when requesting a backup via the API where on top of the API token-the _backup token_ will have to be provided as well.+You can yourself create backups of your OpenProject installation. Go to *Administration* and *Backup* to get started.++++To be able to create a backup, a so called _backup token_ has to be generated first. This is supposed to add another level of security since backing up the whole installation includes sensitive data.++You will then need to create a backup token by clicking **+ Backup token**.++++You will be asked to confirm your password when you try to generate or reset a token. The _backup token_ will only be displayed once after it has been generated. Make sure you store it in a safe place.++The system generates the token which you then fill in where requested in the field below. Then you can press the **Request backup** button++++Each time you request a backup this token has to be provided. This also applies when requesting a backup via the API where on top of the API token the _backup token_ will have to be provided as well.++++## Notifications++Each time a _backup token_ is created or reset an email notification will be sent to all administrators take make everyone aware that there is a new user with access to backups.++After having requested the backup, you will receive an email notification with a link to download your backup. For this, you will need additional authentication (username and password as well as 2-Factor-Authentication if activated) to download the backup files.## Delayed reset+*Note: this is only valid for on-premises installations*+If the user resetting (or creating) a backup token does not have a password, for instance because theyauthenticate using Google, the newly generated backup token will only be valid after an initial waiting period.This is to make sure that no unauthorised user can get their hands on a backup even when accessing@@ -42,7 +60,17 @@ sudo openproject run rake backup:allow_now__In a docker setup you can open a terminal on any of the web or worker processes and run the rake task there.__-## Notifications+## Pull a backup via APIv3++It is sometimes good to have backups on other locations (e.g. local vs cloud). You are able to pull a backup via the APIv3 in OpenProject.++*Preconditions:*++1. The Token must be already generated and stored in a secure keystore+2. The API Key must be known and stored in a secure keystore++You could use our [example bash script](/script/backup-via-apiv3.sh) and integrate it in your crond for running it daily.++## Troubleshooting-Each time a _backup token_ is created or reset an email notification will be sent to all administrators-take make everyone aware that there is a new user with access to backups.+In case you have trouble creating your backup, please [get in touch](mailto:[email protected]) with us. We can then provide a current or past backup (database + attachments) to you. This way you can also get your data if you decide to stop using the Enterprise cloud edition.diff --git a/docs/enterprise-guide/enterprise-cloud-guide/backups/administration-backup-2034314.png b/docs/system-admin-guide/backup/administration-backup-2034314.pngsimilarity index 100%rename from docs/enterprise-guide/enterprise-cloud-guide/backups/administration-backup-2034314.pngrename to docs/system-admin-guide/backup/administration-backup-2034314.pngdiff --git a/docs/enterprise-guide/enterprise-cloud-guide/backups/backup-code.png b/docs/system-admin-guide/backup/backup-code.pngsimilarity index 100%rename from docs/enterprise-guide/enterprise-cloud-guide/backups/backup-code.pngrename to docs/system-admin-guide/backup/backup-code.pngdiff --git a/docs/enterprise-guide/enterprise-cloud-guide/backups/create-backup-token.png b/docs/system-admin-guide/backup/create-backup-token.pngsimilarity index 100%rename from docs/enterprise-guide/enterprise-cloud-guide/backups/create-backup-token.pngrename to docs/system-admin-guide/backup/create-backup-token.pngdiff --git a/docs/system-admin-guide/backup/openproject-backup.png b/docs/system-admin-guide/backup/openproject-backup.pngdeleted file mode 100644index b6623c12b0e..00000000000Binary files a/docs/system-admin-guide/backup/openproject-backup.png and /dev/null differdiff --git a/docs/enterprise-guide/enterprise-cloud-guide/backups/script/backup-via-apiv3.sh b/docs/system-admin-guide/backup/script/backup-via-apiv3.shsimilarity index 100%rename from docs/enterprise-guide/enterprise-cloud-guide/backups/script/backup-via-apiv3.shrename to docs/system-admin-guide/backup/script/backup-via-apiv3.sh