TrackRate user guide

Backup & Restore

Protect database files, tag palette presets, number assignments, and MCP changes with timestamped TrackRate backups.

Data protection map Shared files and database files are backed up into separate timestamped groups
TrackRate backup data scopes Metadata, lyrics, configuration, and other files in each TrackRate database are copied into timestamped restore points. IN EACH DATABASE metadata.jsonidentity and scanned track metadata lyrics.walindexed lyrics for this database ONE FOLDER PER DATABASE db / trackdb / tracks.json ratings.json tags.json playlists.json recipes.json radio.json playlist meta config.json disabled.json BACKUP / Timestamped copies per-database files grouped restore points
The manager backs up the selected database, including its tag palette configuration. MCP’s first-write safety snapshot covers every database.

7 questions

Which data belongs to a database?

Library data lives in db/<database-name>/. Metadata, lyrics, ratings, tags, playlists, and configuration belong to that database. The same audio file can have different curation data in different databases.

Metadata and lyrics are database-specific
FileWhat it storesBackup location
metadata.jsonScanned metadata and analysis results keyed by audio identity.backup/<database-name>/metadata-…json
lyrics.walThe indexed lyrics store for this database. Its index is flushed before manual lyrics backups.backup/<database-name>/lyrics-…wal

config.json stores database-specific configuration, including Premium tag palette presets and number assignments. Application-wide preferences still held in localStorage, such as custom EQ presets and general keyboard customizations, are outside this database snapshot.

What does each file inside a TrackRate database store?

Each database has its own folder under db/<database-name>/. That separation is why the same audio file can have different ratings, hashtags, playlists, or enabled-folder state in two databases.

Canonical per-database files and backup coverage
FileDatabase-specific contentManual managerMCP snapshot
tracks.jsonTrack fingerprints and the audio-file paths belonging to this database.YesYes
ratings.jsonRatings, play counters, rating dates, and recent-play fields.YesYes
tags.jsonTrackRate hashtag assignments and the database’s tag index.YesYes
config.jsonDatabase configuration: tag palette presets, active preset, and ten number-key assignments per preset.YesYes
metadata.jsonScanned metadata and audio-analysis results.YesYes
lyrics.walThe indexed lyrics store for this database.YesYes
playlists.jsonPlaylist names, membership, and saved track order.YesYes
playlist-metadata.jsonPlaylist creation metadata such as timestamps.YesYes
stats-cache.jsonCached library statistics used to avoid recalculating unchanged summaries.YesYes
recipes.jsonSaved recipe state used by generated or structured playback workflows.YesYes
radio.jsonInternet-radio stations saved for this database.YesYes
disabled.jsonLibrary folders disabled in this database without deleting their records.YesYes

The manual manager has a card for every file above. A complete backup is recorded only when all required files are copied successfully. Pending configuration writes, including presets migrated from older localStorage data, are saved before copying.

How do I create and manage a manual TrackRate backup?
  1. Open Settings → Database → Backup & Restore.
  2. Select the database from the database menu.
  3. Choose Back Up DB for a complete restore point, including config.json.
  4. Use an individual card’s Back up now action when only one file type needs a restore point.

Copies go to backup/<database-name>/. The Database Configuration card backs up config.json separately. Every filename includes a timestamp; rows provide Open, Restore, and Delete controls. Complete restore points also offer Restore complete backup.

How does TrackRate automatically clean old backups?

The Auto-delete older than choices are 1 hour, 1 day, 1 week, 1 month, and Forever. The default is one day. The selected threshold applies to recognized timestamped backup files both in the global backup folder and in per-database subfolders.

These values are retention ages, not background timer frequencies. TrackRate checks and removes expired backup copies when the application starts. Choosing Forever disables age-based deletion. Cleanup never deletes the live metadata, lyrics, or database files—only backup copies older than the configured retention period.

What does the automatic MCP backup protect, and when does it run?

When Auto backup on MCP session is enabled, TrackRate creates one full safety snapshot immediately before the first mutating MCP tool in a logical MCP run. Read-only searches and inspection do not create a backup. Later writes in the same run reuse that restore point; it is not one backup or one undo record per edit.

The snapshot includes every canonical file listed above across every TrackRate database, including config.json. Pending configuration changes are saved first. If saving configuration or backing up a required file fails, the first mutating tool fails instead of continuing without the safety snapshot. The setting is enabled by default but can be changed in the MCP settings panel.

How do I restore a TrackRate backup safely?

Open Backup & Restore, locate the required timestamp and file type, and choose Restore. Restoration copies that backup over the current live file, so make a fresh backup of the present state first. For a multi-file incident, restore a coordinated set from the same timestamp rather than mixing unrelated versions.

Restoring config.json immediately reloads the active database’s presets and number assignments and turns Number-key tagging off. The lyrics store is reinitialized after a WAL restore. Restart TrackRate after restoring other database JSON files so every library view reloads. Restoring TrackRate data does not overwrite audio files.

Complete backups made before config.json was introduced remain restorable. They restore their original file set and leave the current configuration unchanged.

What is not included, and how do I move TrackRate to another computer?

The built-in data snapshot does not copy your audio library. It also does not currently include the album-art/ folder or annual history-YYYY.csv play-history files. For a complete migration, close TrackRate and copy the entire TrackRate user-data folder—including db/ with each database’s config.json, album-art/, history CSV files, and backup/—then copy the music files separately.

On the destination computer, restore the data while TrackRate is closed, open the app, add the music folders at their new locations, and rescan unchanged audio. TrackRate’s audio identity can reconnect restored ratings, hashtags, lyrics, and playlists even when file paths changed, provided the audio bytes were not re-encoded or otherwise changed.