Vault History — Inspect & Restore Earlier Versions
Inspect, compare, copy and restore retained encrypted vault revisions, with Tempest Cloud retention limits and CouchDB settings for self-hosting.
History lets you inspect earlier versions of a saved vault entry, compare a revision with its parent, copy its content, or restore it as a new current version. It requires Tempest Pro, a signed-in account, an unlocked synced vault and access to its server.
This page covers document revision history. It is separate from terminal command history, session recordings and Drive run history.
Open History
Desktop / web
Find the saved connection in your host list.
Right-click it and choose History (clock/rewind icon).
Select a revision in the version list to load its preview.
iOS / Android
Open the saved host's action menu in the host list.
Choose History.
Tap a version to view it, copy its content or restore it when permitted.
History is not offered for a local-only vault: the current feature reads retained revisions from the sync server. An empty list means no readable server history is available; it does not prove the entry was never edited.
Read a revision
The list shows revision identifiers and timestamps when present. Older entries may show Time unknown. Version numbers identify revisions, not a promise that every intermediate edit is retained.
The preview shows the decrypted document and encrypted server representation, with changes against the selected revision's parent when that parent is available. If a parent was removed by compaction, its content is unavailable and the preview shows the selected content instead of inventing a complete comparison.
Only retained, readable revisions on the current revision branch are listed. Unsynced edits, discarded branches and bodies already removed from the server are not a complete audit trail. Revision content is decrypted by your vault client, using the active vault's key.
Copy or restore
Copy content copies the selected revision's full decrypted JSON document. It may contain passwords or private keys; treat the clipboard and any exported file as sensitive.
Restore this version asks for confirmation and replaces the current entry's content with the selected version. The restore is saved and synced as a new revision. It does not rewind the database or change every other document.
Restoring also follows the vault's write permissions. A member who can view a shared vault's history but cannot edit its saved connections cannot restore those connections. Check the preview carefully: restoring can bring back an old hostname, credential or trusted host fingerprint.
Use History from the CLI
Use the exact document and revision IDs from the listings. browse is interactive: arrows or j/k select a version, c copies, r requests a restore and q exits. It is also available with h in the saved-server TUI.
copy uses the terminal's OSC 52 clipboard support. If the terminal does not support it, or you are piping output, use show --json. Add --yes to restore only when you intend to skip the interactive confirmation.
For diagnostics:
This reports server revision availability and the revision limit. history probe is a separate diagnostic that creates and edits a test document, leaves it for inspection and does not trigger compaction. See tempest history --help and the CLI guide.
Tempest Cloud: no guaranteed retention
On Tempest Cloud, History is available only while the relevant encrypted revision bodies remain on the server. There is no guaranteed retention duration, version count or continued availability. Cleanup may happen infrequently, removing many older revisions in one maintenance operation after a long interval.
A Pro entitlement enables access to the feature; it does not reserve permanent storage for old revisions. Copy/export important versions while they are readable, and keep your own backups.
Self-hosting: disable CouchDB automatic database compaction
To retain history in a self-hosted deployment, disable CouchDB auto compact for the vault databases. Compaction removes non-leaf revision bodies; keeping revision IDs alone is insufficient to read or restore their content. CouchDB enables automatic compaction by default. See CouchDB compaction.
For CouchDB 3.x's smoosh scheduler, add the following to your persisted local.ini:
This removes automatic database-compaction channels, including upgrade-triggered channels. View-index compaction can keep its existing configuration. The channel list is node-local, so apply the setting on every CouchDB node. See CouchDB compaction configuration.
With the Docker Compose deployment, edit couchdb/local.ini, which is mounted at /opt/couchdb/etc/local.d/local.ini, then restart CouchDB:
Verify the effective smoosh.db_channels setting in CouchDB's configuration on every node. Make sure a later configuration file does not override it, and check that no database compaction is already running or scheduled by an external maintenance job. Disabling the scheduler does not undo a completed compaction or recover deleted revision bodies.
Also review these limits:
Manual compaction: running it on a vault database can remove history even with auto compact disabled.
Revision limit (
_revs_limit): this affects retained ancestry; increasing it does not recover compacted bodies.Replication/migration: ordinary replication does not preserve a full archive of previous revision bodies.
Disk use: retaining old bodies consumes storage. Monitor capacity and keep tested database backups; decide explicitly when to trade retained history for reclaimed space.
See also
Last updated