Skip to content

Stage environments

Stage environments

Stage lifecycle and retention

What a Stage is

A non-production copy of your Soviez ERP, created from your Production, for testing changes, demos or previews.

Active annual technical support includes up to 3 active Stages per covered Production. Creating one also depends on your server's resources.

A separate Stage license is no longer sold.

Entitlement

Creating, cloning, refreshing and rebuilding a Stage needs Stage entitlement from your Soviez account (it comes with annual support for that license), or a signed offline Stage package.

When annual support or Stage entitlement ends, create/clone/refresh/rebuild stop.

An existing Stage is NOT stopped or deleted because entitlement ended.

These keep working after entitlement ends: list, status, start, stop, backup and drop.

Limits

LimitWhat happens
CommercialUp to 3 active Stages per covered Production (STAGE_LIMIT_REACHED beyond that)
ResourcesCreation can be refused with STAGE_INSUFFICIENT_RESOURCES if disk or memory is short, even below 3

Three is the commercial limit, not a promise that every server can run three safely.

Retention

default lifetime = 14 calendar days

maximum total lifetime = 60 days from the original creation date

  • Extend with --stage-retention-extend <id> --days N (never past 60 days from creation)
  • --stage-retention-status shows the countdown and deadlines
  • When a Stage is due, retention takes a final backup, then deletes it safely

Commands

soviez.sh --stage --production-tenant <id> --stage-domain FQDN
soviez.sh --stage-list
soviez.sh --stage-status <stage-id>
soviez.sh --stage-start|stop|backup|drop <stage-id>
soviez.sh --update <stage-id> --release <release-id>   # deploy a release; KEEPS Stage data
soviez.sh --stage-refresh <stage-id>                   # REPLACES Stage data from Production
soviez.sh --stage-rebuild <stage-id>                   # REBUILDS the runtime on Production's release
soviez.sh --stage-retention-status [stage-id]
soviez.sh --stage-retention-extend <stage-id> --days N
soviez.sh --stage-retention-run <stage-id>
soviez.sh --stage --offline-request
soviez.sh --stage --offline-import PATH

Refresh, rebuild or update

CommandStage dataERP release afterwards
--stage-refreshReplaced from current ProductionProduction's release
--stage-rebuildKept; runtime rebuilt from its saved identityProduction's release
--update <stage-id> --release RKept (database, attachments, identity, license slot)R, which can be newer than Production

Domain and security

Each Stage needs its own domain. It follows the same private-port rules as Production, and restores from untrusted sources into a Stage go through quarantine.

Related