Vesta Backup

Installed distribution and operating profile

The installed artifact and operating profile determine available code and the credential namespace. License validation is advisory for every installed module. A missing, invalid, imported or expired license never changes login, organization selection, module availability, backup, restore or scheduling.

The site configuration accepts:

Field Values and default
edition community or commercial; omitted means community.
operating_profile.auth_mode single_organization or multi_organization.
operating_profile.enabled_modules Distinct names from multi_tenancy, billing_api, white_labeling.

Community defaults to single_organization and an empty module list when the whole profile is omitted. Community rejects commercial modules. Commercial requires an explicit profile, including an explicit empty list if no modules are enabled. multi_organization requires multi_tenancy; configuring that module requires multi_organization. Modules without a shipped implementation are configuration errors, independent of license status.

For example, a commercial multi-organization installation can select:

{
  "edition": "commercial",
  "operating_profile": {
    "auth_mode": "multi_organization",
    "enabled_modules": ["multi_tenancy", "billing_api", "white_labeling"]
  }
}

Use the matching backend and frontend artifact distribution. The backend images set VNBUI_ARTIFACT_EDITION to their build distribution. Runtime VNBUI_EDITION must match it. The renderer writes VNBUI_EDITION, VNBUI_AUTH_MODE and the JSON array VNBUI_ENABLED_MODULES for API and migration processes. Commercial images require all three runtime values explicitly. Community images contain no commercial source. A paid Community certificate cannot install absent code.

GET /api/v1/bootstrap exposes only schema version, installed edition, authentication mode and local password/OIDC availability. Its OIDC check reads stored configuration and the persisted organization binding without contacting the issuer. /api/v1/features distinguishes configured modules from loaded implementations. Legacy /api/v1/license/info fields describe installed capabilities and identify their installed-distribution source; they do not assert certificate validity or expose customer details.

Before upgrading an existing commercial installation, explicitly record its current organization mode and modules in the site configuration and verify the matching commercial artifacts. Missing new fields are Community defaults and must never be used to guess a commercial installation's prior credential namespace from its license file. This preparation does not migrate organizations. Existing Community configurations preserve their persisted organization_defaults assignment and existing credentials, with no database migration.

The normal reconfiguration procedure rejects changes to edition, authentication mode or module selection. A live profile transition requires a separately reviewed installation and organization migration plan. Importing a license is never such a plan. See installation and upgrade and recovery for the surrounding procedures. Use offline registration and licensing for issuer custody, local public trust provisioning and the separate advisory acknowledgement.

Installed namespaces and resource names

Fresh examples explicitly set resource_prefix: "vesta", application namespace vesta and agent namespace vesta-agent. Choose actual site namespaces before installation; protected source and restore namespaces are customer scopes. The prefix is one of vesta or vnbui. An omitted prefix always means legacy vnbui, including when a newer kit renders an older accepted site file.

The prefix is fixed for an installed site and cannot change through reconfiguration. An upgrade preserves its omission/value, namespaces, Secret references, database names/roles, agent ID, journal and keys. Never replace an accepted site file with a fresh example or rename existing resources for branding. The vnbui binaries, filesystem paths, database bootstrap role, wire schemas and native service names remain technical compatibility identifiers.

Before commands in the shared guides, set these shell variables from the actual accepted site file (or the reviewed fresh site file before first installation). Use the same shell for subsequent commands; do not execute an untrusted site file as shell code:

SITE=/private/site.json
APP_NAMESPACE=$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1]))["namespace"])' "$SITE")
AGENT_NAMESPACE=$(python3 -c 'import json,sys; c=json.load(open(sys.argv[1])); print(c.get("agent_namespace", c["vm_namespace"]))' "$SITE")
RESOURCE_PREFIX=$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1])).get("resource_prefix", "vnbui"))' "$SITE")

For example, the backend Deployment is ${RESOURCE_PREFIX}-backend, the agent Service is ${RESOURCE_PREFIX}-agent and its journal PVC is ${RESOURCE_PREFIX}-journal. Use rendered names and actual namespace values; APP_NAMESPACE, AGENT_NAMESPACE and RESOURCE_PREFIX are shell variables, not literal Kubernetes names. New backup/restore resources and restore-worker accounts follow the installed prefix. Existing transactions, retained resource names and journal recovery references keep their recorded identities; naming is not a cleanup or migration. Separately supplied Secret names remain explicit site configuration references, even when their names differ from this prefix.