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].
What to include in a backup
Section titled “What to include in a backup”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 Enterpriseon Windows,/var/lib/tracepulse-enterpriseon Linux,/Library/Application Support/TracePulse-Enterpriseon 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/-shmsidecar files when present[cite: 6, 7] - Configuration and credential/license files:
config.toml,secret.key(and any matchingTRACEPULSE_MASTER_KEYvalue),license.key(if file-backed),license_state.json,mac_ledger.json, andendpoint_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].
Backup procedure
Section titled “Backup procedure”- Stop the TracePulse service or running process cleanly so writes and WAL activity settle[cite: 5, 6, 7].
- 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]. - Verify that all expected files and key materials (
secret.keyorTRACEPULSE_MASTER_KEY) were captured intact[cite: 6, 7].
Restore procedure
Section titled “Restore procedure”- Stop the TracePulse service or running process before overwriting any files[cite: 5, 6, 7].
- Restore the full backup set back to the same configured paths (and preserve Unix file permissions such as
0600onsecret.keywhere applicable)[cite: 5, 6, 7]. - Ensure the matching master key (
secret.keyorTRACEPULSE_MASTER_KEY) is available so encrypted credentials can be decrypted[cite: 6]. - Start the service or executable and verify logs, WebGUI/CLI status, configuration, and stored data[cite: 5, 6, 7].
Upgrades and edition boundaries
Section titled “Upgrades and edition boundaries”- 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.tomlwhen the new data-rootconfig.tomlis absent; follow upgrade guidance carefully and reconcile keys if migrating encrypted values[cite: 6].