Database Infrastructure

Settings → DATABASE INFRA (Admin, Business Hub) shows storage health and optional Fleet Engine Assistant migration. This tab does not replace local appliance LiteDB on Nodes.

Who sees what

Appliance typeDATABASE STATUSFleet Engine Assistant
Standalone / NodeSingle APPLIANCE store (StacksAtlas.db)Hidden: no fleet DB on Node.
Central HubAPPLIANCE + FLEET dual-store summaryShown when fleet DB can be configured.

DATABASE STATUS panel

Read-only health for encrypted storage:
DisplayMeaning
APPLIANCE · LITEDBLocal StacksAtlas.db: users, settings, Hub-local state. Always LiteDB on the appliance.
FLEET · SQLITE (default)StacksAtlas.Hub.db: enrolled nodes, fleet devices, federated telemetry.
FLEET · POSTGRESQL / SQL SERVERExternal relational store after migration (Enterprise deployments).
Size (MB)On-disk or reported size per store.
Next scheduled maintenanceAutomatic cleanup window when exposed by health API.

Fleet Engine Assistant

Available on Hubs when canConfigureFleetEngine is true.

FLEET DATABASE PROVIDER

ProviderUse when
SQLite file (StacksAtlas.Hub.db)Default. Single-file fleet store on the Hub host. Suitable for most Business fleets.
PostgreSQL (Enterprise)External HA database, DBA-managed backups, large fleet inventories.
Microsoft SQL Server (Enterprise)Same as PostgreSQL for Windows-centric data centers.

Connection fields (external engines)

When PostgreSQL or SQL Server is selected:
FieldNotes
HOST / ENDPOINTDatabase server hostname or IP.
PORT5432 (PostgreSQL) or 1433 (SQL Server) by default.
DATABASE NAMETarget database (e.g. stacksatlas_hub). Must exist or be creatable per your DBA policy.
USERNAME / PASSWORDCredentials with DDL/DML rights for migration.
Migrate existing fleet SQLite dataWhen checked, copies current StacksAtlas.Hub.db contents into the new engine during apply.

Workflow

  1. Choose FLEET DATABASE PROVIDER.
  2. Fill connection details (external engines only).
  3. Click TEST CONNECTION to verify reachability before migration.
  4. Click APPLY & MIGRATE and confirm the critical-operation dialog.
During migration, node communications are buffered in memory. On failure, ingestion rolls back to the previous fleet engine.

Backups & snapshots

StoreBackup via
Appliance LiteDBDATA GOVERNANCE → snapshot with APPLIANCE chip
Fleet SQLite / externalDATA GOVERNANCE → snapshot with FLEET chip (Hub)
Download snapshots for off-site archival. External PostgreSQL/SQL Server backups follow your DBA runbooks in addition to StacksAtlas snapshots.