Ir al contenido

Back up and upgrade the server

Esta página aún no está disponible en tu idioma.

Run these in the folder with docker-compose.yml.

The database holds every account’s encrypted vault data, wrapped keys and metadata. Back it up like any production database:

Terminal window
docker compose exec -T postgres sh -c 'pg_dump -U "$POSTGRES_USER" "$POSTGRES_DB"' > sternway-$(date +%F).sql

Into an empty database:

Terminal window
docker compose exec -T postgres sh -c 'psql -U "$POSTGRES_USER" "$POSTGRES_DB"' < sternway-2026-10-23.sql

Every account comes back as it was at the dump.

  1. Back up the database.

  2. In .env, set STERNWAY_VERSION to the new version.

  3. Pull and restart:

    Terminal window
    docker compose pull
    docker compose up -d

The server runs its database migrations when it starts. If the release notes say docker-compose.yml changed, download the new one from https://downloads.sternway.dev/<version>/docker-compose.yml and check it against that version’s SHA256SUMS. Your .env and docker-compose.override.yml stay as they are.

© 2026 IRONPINE LABS LLC
ALL RIGHTS RESERVED.