Backup and restore
This topic provides guidance on the following actions:
Backing up Team Edition
Follow these steps to back up your instance of Team Edition:
-
Install
pg_dump
andpg_restore
. -
Run the following command from the install directory:
-
Save the
repo.backup.zip
file to a secure location. -
Save the
REPO_TOKEN_CLIENT_SECRET
andREPO_KEYCLOAK_SYNC_CLIENT_SECRET
values from the.env
file in the installer directory.
Restoring Team Edition
Follow these steps to restore your instance of Team Edition:
-
Reinstall
pg_dump
andpg_restore
as shown above. -
Copy the
repo.backup.zip
file. -
Run the following command from the install directory:
-
Modify the
.env
file in the install directory and replaceREPO_TOKEN_CLIENT_SECRET
andREPO_KEYCLOAK_SYNC_CLIENT_SECRET
with the values saved earlier. -
Run the following in the install directory:
Was this page helpful?