From ba27bc526cb3014f6e1f9cc11614986d6aec7594 Mon Sep 17 00:00:00 2001 From: Anthony Viard Date: Thu, 16 Mar 2023 11:40:04 +0100 Subject: [PATCH] [ENDOC-684] Remove break lines in favor of blank lines to avoid errors when the command is copied --- .../tutorials/devops/backing-restoring-keycloak.md | 10 ++-------- .../tutorials/devops/backing-restoring-keycloak.md | 10 ++-------- .../tutorials/devops/backing-restoring-keycloak.md | 10 ++-------- .../tutorials/devops/backing-restoring-keycloak.md | 10 ++-------- 4 files changed, 8 insertions(+), 32 deletions(-) diff --git a/vuepress/docs/next/tutorials/devops/backing-restoring-keycloak.md b/vuepress/docs/next/tutorials/devops/backing-restoring-keycloak.md index 7519f0f17b..c3629837cd 100644 --- a/vuepress/docs/next/tutorials/devops/backing-restoring-keycloak.md +++ b/vuepress/docs/next/tutorials/devops/backing-restoring-keycloak.md @@ -24,13 +24,7 @@ mkdir -p /tmp/export 4. Run the following script to retrieve the data for the Entando realm and save it to a JSON file in the `export` directory. A new Keycloak server will run on a different port (offset=200) to avoid conflicts with the original Entando Keycloak instance. ``` -/opt/jboss/keycloak/bin/standalone.sh --Djboss.socket.binding.port-offset=200 --Dkeycloak.migration.action=export --Dkeycloak.migration.provider=singleFile --Dkeycloak.migration.realmName=entando --Dkeycloak.migration.usersExportStrategy=DIFFERENT_FILES --Dkeycloak.migration.file=/tmp/export/entando-prod-realm.json +/opt/jboss/keycloak/bin/standalone.sh -Djboss.socket.binding.port-offset=200 -Dkeycloak.migration.action=export -Dkeycloak.migration.provider=singleFile -Dkeycloak.migration.realmName=entando -Dkeycloak.migration.usersExportStrategy=DIFFERENT_FILES -Dkeycloak.migration.file=/tmp/export/entando-prod-realm.json ``` 5. If there are no errors, press Ctrl+C to stop the process. 6. Type `exit` to close the bash shell in the pod. @@ -51,4 +45,4 @@ kubectl cp YOUR-KEYCLOAK-POD-NAME:/tmp/export/ keycloak-backup ::: tip Note If you are using a different environment, with a different hostname, you should import only users or set the flag for `If a resource exists` to `Skip`. -::: \ No newline at end of file +::: diff --git a/vuepress/docs/v6.3.2/tutorials/devops/backing-restoring-keycloak.md b/vuepress/docs/v6.3.2/tutorials/devops/backing-restoring-keycloak.md index cf05982625..8b5e67b289 100644 --- a/vuepress/docs/v6.3.2/tutorials/devops/backing-restoring-keycloak.md +++ b/vuepress/docs/v6.3.2/tutorials/devops/backing-restoring-keycloak.md @@ -24,13 +24,7 @@ mkdir -p /tmp/export 4. Run the following script to retrieve the data for the entando realm and save it to a JSON file in the `export` directory. A new Keycloak server will run on a different port (offset=200) to avoid conflicts with the original Entando Keycloak instance. ``` -/opt/jboss/keycloak/bin/standalone.sh --Djboss.socket.binding.port-offset=200 --Dkeycloak.migration.action=export --Dkeycloak.migration.provider=singleFile --Dkeycloak.migration.realmName=entando --Dkeycloak.migration.usersExportStrategy=DIFFERENT_FILES --Dkeycloak.migration.file=/tmp/export/entando-prod-realm.json +/opt/jboss/keycloak/bin/standalone.sh -Djboss.socket.binding.port-offset=200 -Dkeycloak.migration.action=export -Dkeycloak.migration.provider=singleFile -Dkeycloak.migration.realmName=entando -Dkeycloak.migration.usersExportStrategy=DIFFERENT_FILES -Dkeycloak.migration.file=/tmp/export/entando-prod-realm.json ``` 5. If there are no errors, press Ctrl+C to stop the process. 6. Type `exit` to close the bash shell in the pod. @@ -51,4 +45,4 @@ kubectl cp [keycloak-pod-name]:/tmp/export/ keycloak-backup ::: tip Note If you are using a different environment, with a different hostname, you should import only users or set the flag for `If a resource exists` to `Skip`. -::: \ No newline at end of file +::: diff --git a/vuepress/docs/v7.0/tutorials/devops/backing-restoring-keycloak.md b/vuepress/docs/v7.0/tutorials/devops/backing-restoring-keycloak.md index 7519f0f17b..c3629837cd 100644 --- a/vuepress/docs/v7.0/tutorials/devops/backing-restoring-keycloak.md +++ b/vuepress/docs/v7.0/tutorials/devops/backing-restoring-keycloak.md @@ -24,13 +24,7 @@ mkdir -p /tmp/export 4. Run the following script to retrieve the data for the Entando realm and save it to a JSON file in the `export` directory. A new Keycloak server will run on a different port (offset=200) to avoid conflicts with the original Entando Keycloak instance. ``` -/opt/jboss/keycloak/bin/standalone.sh --Djboss.socket.binding.port-offset=200 --Dkeycloak.migration.action=export --Dkeycloak.migration.provider=singleFile --Dkeycloak.migration.realmName=entando --Dkeycloak.migration.usersExportStrategy=DIFFERENT_FILES --Dkeycloak.migration.file=/tmp/export/entando-prod-realm.json +/opt/jboss/keycloak/bin/standalone.sh -Djboss.socket.binding.port-offset=200 -Dkeycloak.migration.action=export -Dkeycloak.migration.provider=singleFile -Dkeycloak.migration.realmName=entando -Dkeycloak.migration.usersExportStrategy=DIFFERENT_FILES -Dkeycloak.migration.file=/tmp/export/entando-prod-realm.json ``` 5. If there are no errors, press Ctrl+C to stop the process. 6. Type `exit` to close the bash shell in the pod. @@ -51,4 +45,4 @@ kubectl cp YOUR-KEYCLOAK-POD-NAME:/tmp/export/ keycloak-backup ::: tip Note If you are using a different environment, with a different hostname, you should import only users or set the flag for `If a resource exists` to `Skip`. -::: \ No newline at end of file +::: diff --git a/vuepress/docs/v7.1/tutorials/devops/backing-restoring-keycloak.md b/vuepress/docs/v7.1/tutorials/devops/backing-restoring-keycloak.md index 7519f0f17b..c3629837cd 100644 --- a/vuepress/docs/v7.1/tutorials/devops/backing-restoring-keycloak.md +++ b/vuepress/docs/v7.1/tutorials/devops/backing-restoring-keycloak.md @@ -24,13 +24,7 @@ mkdir -p /tmp/export 4. Run the following script to retrieve the data for the Entando realm and save it to a JSON file in the `export` directory. A new Keycloak server will run on a different port (offset=200) to avoid conflicts with the original Entando Keycloak instance. ``` -/opt/jboss/keycloak/bin/standalone.sh --Djboss.socket.binding.port-offset=200 --Dkeycloak.migration.action=export --Dkeycloak.migration.provider=singleFile --Dkeycloak.migration.realmName=entando --Dkeycloak.migration.usersExportStrategy=DIFFERENT_FILES --Dkeycloak.migration.file=/tmp/export/entando-prod-realm.json +/opt/jboss/keycloak/bin/standalone.sh -Djboss.socket.binding.port-offset=200 -Dkeycloak.migration.action=export -Dkeycloak.migration.provider=singleFile -Dkeycloak.migration.realmName=entando -Dkeycloak.migration.usersExportStrategy=DIFFERENT_FILES -Dkeycloak.migration.file=/tmp/export/entando-prod-realm.json ``` 5. If there are no errors, press Ctrl+C to stop the process. 6. Type `exit` to close the bash shell in the pod. @@ -51,4 +45,4 @@ kubectl cp YOUR-KEYCLOAK-POD-NAME:/tmp/export/ keycloak-backup ::: tip Note If you are using a different environment, with a different hostname, you should import only users or set the flag for `If a resource exists` to `Skip`. -::: \ No newline at end of file +:::