Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENDOC-684] Remove break lines in favor of blank lines to avoid error… #695

Merged
merged 1 commit into from
Mar 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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`.
:::
:::
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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`.
:::
:::
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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`.
:::
:::
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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`.
:::
:::