Migration to Temporal
A guide to migrating to the new Temporal infrastructure
Prerequisites
- Have your existing data saved somewhere (or use the existing PostgreSQL DB)
- Cloned the new docker-compose repo
Migration Steps
Head into the docker-compose folder
cd ./postiz-docker-composeInsert your previous secrets into the new Docker Compose
nano docker-compose.yamlAnd insert all your previous secrets from the existing docker-compose.yml before v1.12.0
Start the stack, and stop it
docker compose up -dWait for a bit to let it start.
docker compose downInsert your existing data into PostgreSQL
- Identify volumes:
docker volume ls- Copy data (helper container):
docker run --rm -v <old_postgres_volume>:/from -v <new_postgres_volume>:/to \
alpine sh -c "cp -a /from/. /to/"Start the stack finally
docker compose up -dAnd wait for it to start
Congratulations! You have now successfully migrated to v2.12.0 or later, and can enjoy the new Temporal infrastructure and updates!