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
and pg_restore
.
-
Run the following command from the install directory:
# Replace <POSTGRES_PASSWORD> with your postgres password. You can find your postgres password here: <BASE_INSTALL_DIR>/config/postgres/postgres_db_password.txt
./repo-tools backup --database-uri postgresql://postgres:<POSTGRES_PASSWORD>@localhost:5432/postgres --keycloak-database-uri postgresql://keycloak:keycloak@localhost:5432/keycloak --blob-dir /opt/anaconda/repo/state/internal/blobs/ > repo.backup.zip
-
Save the repo.backup.zip
file to a secure location.
Restoring Team Edition
Follow these steps to restore your instance of Team Edition:
-
Reinstall Team Edition.
-
Reinstall pg_dump
and pg_restore
as shown above.
-
Copy the repo.backup.zip
file.
-
Run the following command from the install directory:
# Replace <POSTGRES_PASSWORD> with your postgres password. You can find your postgres password here: <BASE_INSTALL_DIR>/config/postgres/postgres_db_password.txt
./repo-tools restore repo.backup.zip --database-uri postgresql://postgres:<POSTGRES_PASSWORD>@localhost:5432/postgres --keycloak-database-uri postgresql://keycloak:keycloak@localhost:5432/keycloak --blob-dir /opt/anaconda/repo/state/internal/blobs/