Skip to content

Backup & Restore

TracePulse does not provide a dedicated product command for full instance backup or restore. Full state preservation relies on stopping the service/process and backing up or restoring the required files together as an operational procedure[cite: 5, 6, 7].

A complete backup covers the active data/configuration directory, SQLite databases along with their WAL sidecars, and related state or output files[cite: 5, 6, 7]:

  • Enterprise data root (%PROGRAMDATA%\TracePulse Enterprise on Windows, /var/lib/tracepulse-enterprise on Linux, /Library/Application Support/TracePulse-Enterprise on macOS) or the Community data directory (TRACEPULSE_DATA_DIR, or . when unset)[cite: 6]
  • SQLite databases and WAL sidecars: such as data.db, tracepulse-enterprise-events.db, tracepulse-enterprise-auth.db, and their -wal / -shm sidecar files when present[cite: 6, 7]
  • Configuration and credential/license files: config.toml, secret.key (and any matching TRACEPULSE_MASTER_KEY value), license.key (if file-backed), license_state.json, mac_ledger.json, and endpoint_baseline.json[cite: 6, 7]
  • Flow and report directories: configured flow storage (such as DataFusion/Parquet paths) and report output directories, including absolute paths if configured outside the default data root[cite: 6, 7]

Note that --export-support-bundle <path.zip> exports application logs and a manifest—it is not a full backup of databases, configuration, credentials, or state files[cite: 6].

  1. Stop the TracePulse service or running process cleanly so writes and WAL activity settle[cite: 5, 6, 7].
  2. Copy the required SQLite database files and their WAL sidecars, config.toml, credential/key and state files, and configured flow/report directories to a safe backup destination[cite: 5, 6, 7].
  3. Verify that all expected files and key materials (secret.key or TRACEPULSE_MASTER_KEY) were captured intact[cite: 6, 7].
  1. Stop the TracePulse service or running process before overwriting any files[cite: 5, 6, 7].
  2. Restore the full backup set back to the same configured paths (and preserve Unix file permissions such as 0600 on secret.key where applicable)[cite: 5, 6, 7].
  3. Ensure the matching master key (secret.key or TRACEPULSE_MASTER_KEY) is available so encrypted credentials can be decrypted[cite: 6].
  4. Start the service or executable and verify logs, WebGUI/CLI status, configuration, and stored data[cite: 5, 6, 7].
  • Cross-edition migration: Community and Enterprise use different data-root rules and do not perform automatic cross-edition data migration[cite: 6].
  • Legacy Linux config path: Enterprise on Linux does not silently ignore a legacy /etc/tracepulse-enterprise/config.toml when the new data-root config.toml is absent; follow upgrade guidance carefully and reconcile keys if migrating encrypted values[cite: 6].