Skip to Content
Onshore is in early access. Don’t load real customer data until the items in Known limits are closed.
Run it yourselfUpgrades and backups

Upgrades and backups

Upgrade

Verify the release

./rv bundle verify

Back up

Take a database backup (below).

Pull or build the new images

docker compose --profile logs --profile ai --profile proxy build # or pull

Migrate and restart

docker compose run --rm migrate docker compose --profile logs --profile ai --profile proxy up -d ./rv doctor

Migrations only move forward. Always back up first.

Back up

Back up PostgreSQL with your usual tools (pg_dump, or your platform’s snapshots), to a destination in the same country. Values in the dump are encrypted, and useless without the key service.

Also keep, separately and securely: .env, and the key holders’ shares (held by the holders, never with backups).

A backup restored without the matching key service and shares can’t be decrypted. That’s by design.

Restore

  1. Restore the database.
  2. Start the key service and unseal it with three shares.
  3. Start the services and run ./rv doctor.
Last updated on