Which open-source option replaces Snowflake Time Travel for your team
If you are facing a renewal, a retention requirement, or the need to roll back a bad write, the short answer is this: Iceberg snapshots with time travel queries and rollback cover tables in a self-hosted Trino lakehouse, and ClickHouse BACKUP and RESTORE covers ClickHouse data. Neither is a one-to-one copy of Snowflake's managed window. Snowflake keeps 1 to 90 days of Time Travel depending on your edition, followed by 7 days of Fail-safe. In a self-hosted setup, retention is a storage and process decision you own: you choose how many snapshots or backups to keep, where they live, who can delete them, and how long they cost to hold.
The rest of this section maps each recovery need to its open-source counterpart. Start by listing the three situations your team actually relies on Time Travel for: querying a table as it looked at a past point, undoing an accidental DROP or bad MERGE, and meeting a retention period set by your own policy or a regulator. Each one points to a different tool. Snapshot-based queries and rollback fit the first two for Iceberg tables. Backups fit the third and cover ClickHouse tables that do not use Iceberg. Confirm with your compliance team which retention period is required before you size either option, because that number drives storage cost more than any feature choice.
Before you commit, run a restore test on a spare cluster. The ClickHouse backup documentation warns that a backup never test-restored will probably not restore properly when needed, and it recommends regular restore tests. Ask your team to confirm three things in your own environment: that snapshot expiry in your Iceberg catalog does not remove snapshots you have promised to keep, that backups land on storage outside the failure domain of the cluster, and that someone owns the restore runbook. The ClickHouse backup and restore documentation sets out the backup scope and the replication caveat in detail.
Map of Time Travel, Fail-safe and rollback capabilities to open-source options
This table maps each Snowflake recovery capability to its closest self-hosted equivalent in a Trino and Iceberg lakehouse and in ClickHouse, and names the gap you must close yourself. Read the rows as separate decisions: a lakehouse snapshot is not a backup, and a ClickHouse replica is not protection against bad writes. The main takeaway is that recovery in an open-source stack is assembled from snapshot retention, object storage protection and tested backups, and each piece has its own owner and cost.
| Capability | Trino Iceberg option | ClickHouse option | Gap or item to confirm |
|---|---|---|---|
| Historical query at a timestamp or version | Iceberg time travel to exact snapshots, queried through Trino's time travel support in the Iceberg connector | No built-in table-version query; point-in-time views need a backup restored to a separate database | Confirm which engines in your stack can read the snapshot history you keep |
| Table rollback to an earlier state | Iceberg rollback to an earlier table state, run as a maintenance operation by an engineer | RESTORE of a table, partition or database from a BACKUP taken earlier | Rehearse the rollback procedure and document who may run it |
| Retention length | Set by your snapshot expiration policy, which you define and schedule | Set by how many backups you keep and where, in local disk, S3-compatible or Azure Blob Storage | Confirm the retention period your policy requires and who approves it |
| Protection against dropped tables | Dropping a table in the catalog does not by itself remove its files; recovery depends on the catalog and object store | A dropped table is recoverable only from a backup taken before the drop | Confirm whether your catalog keeps metadata after a drop and whether object storage versioning or a separate backup covers it |
| Backup of the whole cluster | Object store copies and catalog exports are separate jobs you build and monitor | BACKUP covers tables, partitions or databases, and full and incremental modes are documented | Replication does not protect against human error or corruption, so a separate backup is required |
| Restore testing | Not provided by Trino or Iceberg; you define and run the test | Documentation recommends regular restore tests on spare clusters | A backup never test-restored will probably not restore when needed, so schedule restore tests and record results |
Which Iceberg, Trino and ClickHouse option fits each Time Travel need
Snowflake Time Travel bundles history, rollback and retention into one edition-based feature. In a self-hosted stack these jobs split across table format snapshots, the query engine and backup tooling, so each need maps to a different component. The cards below show which option fits which need, what it costs to keep, and what to test before relying on it.
Iceberg snapshots with time travel queries
Apache Iceberg records each committed table state as a snapshot, and Trino's Iceberg connector supports time travel queries against those snapshots. This fits analysts who need to see a table as it was before a bad load or a changed definition. The trade-off is that old snapshots keep their data files on object storage until they are expired, so storage grows with history. Confirm the exact time travel syntax your Trino version accepts before writing runbooks.
Trino Iceberg docsRollback to an earlier table state
Rollback restores an Iceberg table to an earlier snapshot, which fits repairing a damaged table without rebuilding it from source. Trino's Iceberg connector writes through MERGE, UPDATE and DELETE, so corrections can be applied in place as well. The trade-off is that rollback is a catalog operation, so it depends on the catalog you chose. Confirm the rollback procedure and its effect on concurrent writers against your Hive Metastore, Glue, JDBC, REST or Nessie catalog.
Snapshot expiration as the retention control
In Iceberg, how long you can time travel is set by snapshot expiration, not by an edition setting. Expiring snapshots removes the history and frees the files only they reference, so retention becomes an explicit policy your team owns. The trade-off is that a short window lowers storage cost but leaves less room to recover from late-discovered errors. Decide the window with your data owners and schedule expiration as a routine job, then verify it runs.
ClickHouse BACKUP and RESTORE
ClickHouse BACKUP and RESTORE create full and incremental backups of tables, partitions or databases to local disk, S3-compatible storage or Azure Blob Storage. This fits ClickHouse tables where the recovery point must sit outside the cluster, since replication alone does not protect against human error or corruption. The trade-off is that backups are copies you store and pay for, and the documentation warns that a backup never test-restored will probably not restore when needed. Schedule restore tests on a spare cluster.
ClickHouse backup docsCatalog-level recovery path
The table catalog holds the pointers to current and historical metadata, so losing or corrupting it can make healthy data files unreadable. Recovery at this level means backing up catalog metadata and object storage together, with a documented order for restoring both. This fits any Iceberg lakehouse, whatever the engine. The trade-off is that the catalog is a separate system to operate, secure and back up. Confirm how your chosen catalog exports metadata and whether restored files and pointers stay consistent.
How Iceberg snapshots, the catalog and backups fit together
The diagram starts with a Trino coordinator and workers in your network, which read an Iceberg table through a catalog such as a REST catalog or Hive Metastore. The catalog points each query at the table's snapshot history in your object storage bucket, which is what time travel and rollback use. A separate ClickHouse cluster writes BACKUP archives to S3-compatible storage, and a restore test runs on a spare cluster. Check that the catalog, the bucket versioning and the restore test all sit inside the boundary you have agreed to protect.
Iceberg snapshots, the catalog and ClickHouse backups inside one trust boundary.
Choosing between Iceberg time travel and ClickHouse backups
Analytical tables stored as Apache Iceberg in your own object storage can be queried at an earlier point with time travel, and rolled back to an earlier table state after a bad merge or load. Iceberg keeps snapshots as part of the table metadata, so recovery depends on which snapshots still exist. Snapshots are not kept forever, which means the retention rule is a design decision your team owns, not a default you inherit.
- Snapshot expiration policy: Decide how long snapshots and their referenced data files are kept, and schedule expiration so storage does not grow without limit. Expired snapshots cannot be used for time travel.
- Rollback procedure: Document who may roll back a table, how the target snapshot is chosen, and how downstream jobs are paused and resumed during the rollback.
- Catalog and access control: Time travel depends on the catalog that tracks the table. Confirm how the Trino Iceberg connector's catalog choice (Hive Metastore, AWS Glue, JDBC, REST or Nessie) handles snapshot metadata and who can change it.
- Maintenance jobs: Compaction, orphan file removal and metadata cleanup can remove files that older snapshots reference. Test that these jobs respect your retention window.
- Engine and version checks: Confirm in your test environment that time travel syntax and rollback behave as expected on the Trino and Iceberg versions you run.
Before relying on this, restore a test table to a prior snapshot in a non-production catalog and verify row counts and checksums against a known good copy.
ClickHouse replication keeps copies of data available when a server fails, but it also copies a bad delete or a faulty insert to every replica. Point-in-time recovery after human error therefore comes from BACKUP and RESTORE, which take full or incremental backups of tables, partitions or databases. Your team must schedule these backups, choose a destination, and prove that restores work.
- Backup schedule and scope: Define how often full and incremental backups run, and which databases, tables or partitions they include. Event and dashboard tables often need different intervals.
- Backup destination: Choose local disk, S3-compatible storage or Azure Blob Storage, and confirm retention, encryption and access rules on that destination.
- Restore runbook: Write the steps for restoring to a spare cluster, including who approves the restore, how dashboards are repointed, and how the restored data is compared with the live tables.
- Restore tests: The ClickHouse backup documentation warns that a backup never test-restored will probably not restore properly when needed. Schedule regular restores on spare clusters and record the results.
- Replication limits: Confirm with your own tests how replicas resync after a failure and what replication does not protect against, such as deletes that reach every replica.
Before relying on this, run a full restore and an incremental restore in a test environment with representative data, and time how long the restore takes against your recovery expectations.
Many teams run both a lakehouse for historical analysis and a ClickHouse cluster for operational dashboards. Each layer needs its own recovery design, and the two must be governed together so that a single incident does not leave one layer restored and the other stale. The main risk in a mixed estate is an unclear owner for each dataset.
- Dataset ownership map: List every dataset, its system of record, and whether recovery uses Iceberg snapshots, ClickHouse backups or both. Gaps in this map are where data loss goes unnoticed.
- Consistent retention: Align the Iceberg snapshot window and the ClickHouse backup retention with your legal and business requirements, and document any difference.
- Cross-system reconciliation: Plan how a ClickHouse restore is reconciled with lakehouse tables built from the same source, so that totals match after an incident.
- Shared runbooks and drills: Combine the lakehouse rollback and ClickHouse restore into one incident procedure, and rehearse it on a schedule.
- Access to backups: Restrict who can read or delete backups and snapshot metadata, and log those actions, since backups hold the same sensitive data as the live system.
Before relying on this, confirm with the vendors and your own test environment that each layer's recovery steps work together, and ask your auditors which evidence they will expect for each recovery control.
What retaining history costs in a self-hosted stack
Retaining history in a self-hosted stack is not one line item. Snowflake bundles Time Travel retention, Fail-safe and storage into a single bill, while a self-hosted setup splits the same job across object storage, compute, a table catalog and the people who run restores. The first cost to size is object storage for retained data: in a Trino and Iceberg lakehouse, every snapshot keeps its data files and metadata alive until it is expired, and in ClickHouse, every backup archive sits in S3-compatible or Azure Blob Storage. Ask the vendor or your platform team how many snapshots and backup generations you plan to keep, and what the object store charges per stored gigabyte in your contract, since that number multiplies the retention window directly.
Compute and tooling come next. The Trino cluster (one coordinator plus workers, as the deployment documentation describes) or the ClickHouse servers must run time travel queries, snapshot expiry jobs, compaction and backups, and those jobs compete with daytime analytics for the same hardware. The catalog (a Hive Metastore, AWS Glue, a REST catalog or Nessie, depending on your choice) and access control tooling add their own running costs and support load. The largest recurring cost is often people: on-call coverage for failed backup jobs and the engineering time to write and maintain retention and restore runbooks. The ClickHouse backup documentation advises regular restore tests on spare clusters, and that test environment is a cost in its own right.
Some costs are one-time and some recur. Setup, catalog and access control configuration, runbooks and the first full backup are one-time or front-loaded. Storage growth, incremental backups, compute for expiry and compaction jobs, restore tests and on-call are recurring. The main cost drivers are how long snapshots and backup generations are kept, how much table churn MERGE, UPDATE and DELETE create (each rewrite can leave old files that retention keeps alive), and how often backups run. When requesting a quote, ask the implementer for a written breakdown by these components, the assumed retention period, the expected churn per table, the backup schedule, the restore test cadence and which items are one-time versus monthly. Ask who owns each runbook after handover.
How to set up retention, rollback and restore tests
This sequence turns Snowflake Time Travel expectations into a self-hosted design where Iceberg snapshots, ClickHouse backups and tested restores each cover a defined recovery window. The output is a documented retention map that your team has proven can be restored.
Inventory Time Travel dependencies by table
Your data engineers and the owners of each dataset list every Snowflake table that relies on Time Travel, the retention period currently set on it, and whether any recovery procedure, dashboard or audit request depends on going back in time. Pull the current retention settings from Snowflake metadata and record Fail-safe expectations separately, since Fail-safe is not a self-service recovery path. Done means a single table register where each row names the owner, the recovery window needed, and the business reason for it.
Decide the Iceberg table design and catalog
Architects choose which tables move to Apache Iceberg and which stay in ClickHouse, then pick a catalog such as a Hive Metastore, AWS Glue, JDBC, REST or Nessie catalog, the options Trino's Iceberg connector accepts through iceberg.catalog.type. Record the object storage location, the file format (Parquet is the connector default), and who can write to each table. Done means a signed design note that the catalog choice, storage bucket and write ownership are settled. Confirm the exact catalog configuration for your Trino and Iceberg versions before building anything.
Set snapshot expiration to match retention
Platform engineers configure snapshot expiration on each Iceberg table so the history kept matches the retention value from step one. Iceberg keeps snapshots until they are expired, so a table with no expiration policy grows indefinitely, while an overly aggressive one removes the rollback targets you need. Trino's Iceberg connector supports time travel and rollback queries against retained snapshots, and you should confirm the exact expiration and rollback procedure for your catalog version in the Iceberg and Trino documentation. Done means a test table shows the expected snapshot list after an expiration run, with no snapshot older than the window still present.
Configure ClickHouse full and incremental backups
Database administrators set up ClickHouse BACKUP commands for full and incremental backups of the tables, partitions or databases in scope, writing to S3-compatible storage or Azure Blob Storage in a location separate from the cluster. Replication only protects against hardware loss, so the backup job must run on its own schedule and retain copies for the window you recorded. Done means a backup job completes on a schedule, the backup target lists the expected backup entries, and the access credentials are stored in your secrets manager rather than in plain configuration.
Run a rollback drill on a copy
The data team creates a copy of one Iceberg table and one ClickHouse table, applies a deliberate bad write such as a faulty MERGE or DELETE on the copy, then rolls back or restores it using the snapshot and backup procedures from earlier steps. The drill records how long the operator needed, which commands were used, and any step that required undocumented knowledge. Done means the copy returns to the expected row counts and checksums, and the runbook is updated with every correction the drill exposed.
Schedule restore tests on a spare cluster
Operations staff schedule recurring restores of ClickHouse backups onto a spare cluster, following the guidance that a backup never test-restored will probably not restore properly when needed. Each run compares restored row counts and key aggregates against the source, and any failure opens a ticket with the backup identifier. Set the test cadence in your own change calendar and assign an owner who signs off each run. Done means the restore log for each scheduled run is kept with the retention evidence, and any failed run has a documented fix before the next run.
Review retention and restore evidence regularly
Compliance and platform leads review the table register, expiration settings, backup job logs and restore test results on a fixed cadence, and they check that tables added since the last review have a recovery window and an owner. Changes to Iceberg versions, ClickHouse releases or the Trino version trigger a repeat of the rollback drill, since procedures can shift between versions. Done means the review produces a dated record that lists open findings and the owner for each, and an auditor could trace any recovery window to its configuration and test evidence.
Keeping Snowflake Time Travel during the transition
Time Travel and Fail-safe keep applying to Snowflake tables until they are dropped, while the replacement stack builds its own snapshot and backup coverage. The four cards below cover how the two run side by side, what to protect first, and what to record before anything is removed.
Snowflake keeps its own retention
Tables that have not moved stay under Snowflake Time Travel and Fail-safe, and those windows keep running until each table is dropped or its retention is changed. Nothing in a Trino or ClickHouse build changes that behavior. Confirm the Time Travel setting per database, schema and table, since the retention period depends on your edition and any overrides in place. Leave Fail-safe out of your planning assumptions until you have checked how it applies to tables you drop during the move.
- Fail-safe window
- 7 days
Query both sides through Trino
Trino's Snowflake connector can read Snowflake tables from the same SQL session as Iceberg tables, which lets you compare row counts and checksums before a cutover. Each Trino catalog maps to one Snowflake database, so plan catalog names per database. Writes to Snowflake through the connector are also possible, so restrict those grants during the overlap. Confirm connector version and authentication settings against your own Snowflake account before relying on it for validation.
Trino Snowflake connectorStart backups before retiring Snowflake
Snapshots in Iceberg and replicated ClickHouse tables do not protect against an accidental drop or a bad transform on their own. Schedule BACKUP for ClickHouse tables and make sure object storage holding Iceberg data files and metadata is versioned or backed up. Replication keeps replicas in sync, so it does not undo human error. Start these jobs as soon as the first table lands, not at the final cutover, so the new platform has its own recovery history before Snowflake's windows close.
ClickHouse backup docsRecord retention before dropping tables
Before any Snowflake table is dropped, write down its Time Travel setting, its last successful copy into Iceberg or ClickHouse, the row count and checksum at copy time, and the date its Fail-safe period ends. Keep that register with the migration runbook so an auditor or incident responder can see what history existed and when it stopped. Assign one owner to sign off each drop. Expect the two retention regimes to run in parallel during the overlap, which adds storage cost on both sides until the last Snowflake table is retired.
Snowflake Iceberg tablesWhy replication is not a backup and what restore tests prove
Replication keeps a second copy of data current, but it does not keep a second copy of the past. ClickHouse replicated tables, coordinated by ClickHouse Keeper, automatically sync missing data to a recovered replica from a healthy one, so a failed node is handled without manual work. That same behavior copies mistakes too. A DROP TABLE or a wrongly scoped ALTER runs on every replica, and corruption can spread the same way. ClickHouse's replication guide says so directly: replication alone does not protect against human error or corruption. A self-hosted Time Travel replacement therefore needs a separate backup with its own retention, which is the point of BACKUP and RESTORE for tables, partitions or databases to local disk, S3-compatible storage or Azure Blob Storage.
A backup that has never been restored is an assumption, not a control. The ClickHouse backup documentation warns that a backup never test-restored will probably not restore properly when needed, and recommends regular restore tests on spare clusters. A restore test proves more than the backup job reporting success. It shows that the backup set is complete, that the restored schema, data and access settings (including users and roles managed through access control) come back as expected, and that the restore runs with the credentials and network paths the runbook assumes. Schedule these tests on a spare cluster so a failed restore never touches production, and record each result as evidence for your auditors.
Before accepting this control, ask your team or DeployOpen to verify three things in writing. First, restore time: how long a full restore of your largest database takes on the target hardware, measured from the decision to restore to queries returning results. Second, data completeness: row counts and checksums per table compared against the source at the backup point, plus confirmation that the incremental chain is intact. Third, ownership: a named owner for the restore runbook, who can trigger a restore, who approves restoring over live data, and how the runbook is updated after each test. If any of these answers is unclear, the backup is not yet a recovery capability.
How much does it cost and how long does it take to replace Time Travel?
What does it cost to replace Snowflake Time Travel with a self-hosted setup?
The cost is a set of recurring infrastructure charges plus a one-time build, and no single line item replaces Snowflake's edition fee. The recurring parts are object storage for retained snapshots and backups, compute for the Trino cluster or ClickHouse servers that run restores and time travel queries, and the staff time to operate them. The one-time parts are designing the catalog, retention policy and backup jobs, and any outside implementation work, which is quoted from a written scope. Snowflake's own Time Travel storage is billed as data storage, so the comparison is storage you control against storage you already pay for. Ask any vendor or partner to split the quote into infrastructure, build and run effort so the components can be compared line by line.
What drives the cost of keeping history up or down?
Retention length and change rate drive most of the storage cost. Every Iceberg snapshot keeps references to data files, so frequent writes, large MERGE or UPDATE jobs and small files add retained data until expired snapshots are removed. The main levers are:
- How many days of snapshots the table keeps, set per table or per catalog policy
- How often compaction rewrites small files, which reduces file count but produces new files
- Whether ClickHouse backups are full or incremental, and how many generations are kept in S3-compatible or Azure Blob Storage
- Object storage tier and replication settings, which your cloud or data center contract sets
Illustrative example: a table rewritten nightly keeps more retained files than a mostly append-only table with the same row count. Confirm the actual rates with your storage provider.
How long does it take to set up retention and time travel in a self-hosted lakehouse?
The length depends on how many tables, catalogs and backup targets you need, and on whether the platform already exists. Teams with an existing Trino cluster and object storage mostly configure an Iceberg catalog, snapshot expiry rules and restore procedures. Teams starting from nothing must also deploy the cluster, identity and monitoring. Trino's deployment documentation covers a coordinator with workers, and its Kubernetes guide with Helm is one route, but the sizing and rollout effort depend on your environment. Confirm the timeline in a written scope that lists the tables in scope, the retention target, the restore test plan and the environments involved. Do not accept a duration that does not name those inputs.
Can our own team replace Time Travel without outside help?
Yes, if your team already operates object storage, a query engine and an identity system, and has someone who owns backup and recovery procedures. The skills you need are Iceberg table maintenance (snapshot expiry, compaction and orphan file cleanup), Trino or ClickHouse operations, and writing restore runbooks. The areas teams most often underestimate are restore testing and on-call coverage, because ClickHouse's backup documentation says a backup that has never been test-restored will probably not restore properly when needed. Outside help is most useful for the one-time design, an independent restore test and a documented handover. DeployOpen plans, implements, backs up, documents and supports self-hosted platforms in your own infrastructure, under a fixed-scope written agreement or a retainer.
What must our team supply for a self-hosted Time Travel replacement?
Your team must supply five components, and each one carries its own cost and owner:
- Object storage with versioning or backup policy, such as S3-compatible storage, Azure Blob Storage or Google Cloud Storage for Trino's fault-tolerant spooling and ClickHouse backups
- A table catalog, such as an Iceberg REST catalog, Hive Metastore, AWS Glue, Nessie or a Snowflake catalog, chosen through the connector's iceberg.catalog.type setting
- Identity and access control, using Trino's password, LDAP, OAuth 2.0, Kerberos, certificate or JWT options and its file-based, Apache Ranger or Open Policy Agent access control
- Monitoring and alerting for failed snapshot expiry, failed backups and storage growth
- On-call staff who can run a restore at night
Confirm each component with the vendor or internal platform owner before you commit to a budget.
Does Iceberg rollback replace a backup?
No. Iceberg rollback and time travel return a table to an earlier snapshot, but they depend on the same catalog and the same storage. If a catalog is corrupted, a bad job deletes data files or the storage account is lost, snapshot history does not help. Iceberg's time travel to exact snapshots and rollback to an earlier table state are core features, so they cover accidental writes within the retained window. A separate backup, such as ClickHouse BACKUP to a different storage target or a copy of catalog metadata, covers loss of the platform itself. ClickHouse's documentation also notes that replication alone does not protect against human error or corruption. Treat snapshot rollback and backup as two layers with separate retention settings.
How are restore tests run for a self-hosted lakehouse or ClickHouse cluster?
Run restore tests on a spare cluster or isolated environment, never on production, and record the result each time. For Iceberg tables, restore by rolling back a copy of a table to a chosen snapshot or by querying it with time travel syntax, then check row counts and checksums against a known value. For ClickHouse, run RESTORE from a full or incremental backup on a spare cluster, then compare table contents and run representative queries. ClickHouse's backup documentation recommends regular restore tests on spare clusters for this reason. Set the test frequency, the restore target time and the pass criteria in writing before you start. Ask any partner to show the last restore test report, and confirm the Trino and ClickHouse release lines you run, since the supported versions and LTS lines change over time (ClickHouse's security policy lists the currently supported versions, and its LTS releases are supported for a year).
How DeployOpen scopes and delivers the Time Travel replacement
DeployOpen plans and implements self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For a Time Travel replacement, that means agreeing in writing which tables need snapshot history, how long each keeps it, and how a restore is proven before the Snowflake retention window closes.
How we scope
- Inventory which Snowflake tables rely on Time Travel and which need Fail-safe-style recovery.
- Agree the retention period, snapshot expiry rules and storage budget per table group in writing.
- Define the rollback and restore tests that count as acceptance before any work starts.
How we build
- Deploy the Iceberg catalog, Trino cluster and object storage in your environment with access control.
- Configure ClickHouse replication with Keeper nodes and scheduled BACKUP jobs to your storage.
- Test snapshot queries, rollbacks and backup restores against representative data before cutover.
How we hand over
- Document snapshot retention settings, backup schedules, restore runbooks and ownership of each component.
- Run a restore drill on a spare cluster with your team so the procedure is proven, not assumed.
- Deliver configuration, test evidence and access records for your security and compliance reviewers.
How we support
- Offer ongoing support, upgrades and continuous testing for the platform as a retainer.
- Track Iceberg, Trino and ClickHouse release notes and plan upgrades in a pre-production environment.
- Repeat restore tests on a fixed schedule agreed in the support scope.

