Data Maintenance
Sifio manages its data across three main directories under SIFIO_HOME. Understanding this structure is essential for maintenance.
SIFIO_HOME
You can customize all data storage locations by setting the SIFIO_HOME environment variable. If not set, it defaults to your user home directory (~).
Directory Overview
| Directory | Default Path (relative to SIFIO_HOME) | Purpose |
|---|---|---|
| Config | .config/sifio | System configurations (config.yaml) |
| Data | .local/share/sifio | Database, license, plugins, and environments |
| Cache | .cache/sifio | Temporary runtime data |
Backup
Regularly back up the following files to preserve your system state and core data:
- config.yaml: Located in the Config directory.
- sifio.db: Located in the Data directory.
These two files contain all your topics, subscriptions, and system settings.