Retention and point-in-time revert

# Undoing a bad load, without downtime.

When a source sends bad data, its tables can go back to how they were before. SchemaVortex rebuilds them from the copy of every load it keeps in your own storage, while your reports keep running. Retention works at the other end of the history: data older than the period you set is removed automatically.

In short

## Bad data in a source should not become your history.

When a broken export, a faulty migration or ransomware puts bad data into a source system, that data can reach the lakehouse before anyone notices. A revert removes it.

### A chosen moment

The user chooses a source and a point in time. Each of the source's tables goes back to its last load before that moment. Where a table's history does not reach that far, a setting decides whether the table keeps its oldest data or is emptied and refilled by its next load. A table that keeps only its latest state cannot go back.

### A preview first

Before anything changes, a preview shows, for each table, the load it returns to and what will be removed. The preview also lists the tables that cannot go back.

### No downtime

Reports keep reading the current state until the rebuild is finished. The rebuilt tables then take over in one step.

### The source is not touched

The rebuild needs no new read from the source system. It uses the loads already kept in your storage.

How it works

## History changes only at its two ends.

SchemaVortex keeps a copy of each load from a source for the retention period you set. In the product, a load is an Extraction and the Integration that folds it into the Vault. A revert removes the loads from the chosen moment on and rebuilds each table from the loads before that moment.

Source `erp` Kept since **Mar 12, 12:00** Revert to **Mar 14, 02:00**

`sales_order` back to Mar 13, 23:10

`invoice` back to Mar 14, 01:00

`price_list` cannot go back

1. Reports read the current state
2. The tables are rebuilt in the background
3. The rebuilt tables take over in one step

**Retention** removes the loads older than the period you set. A **revert** removes the newest ones after a load goes wrong. The data between the two ends never changes.

The source has to be fixed, or its loads paused, before a revert. Otherwise the next load brings the bad data back.

Before a revert

## A revert is final, so it has to be confirmed.

The loads a revert removes cannot be brought back. Two safeguards make the choice explicit, and the History tables offer a look back without a revert.

### Only the right people

Only a Vault Lifecycle Manager for the source can run a revert.

### Confirmed with the source's name

The source's name has to be typed to confirm. Every revert is recorded with the name of the person who ran it.

### History without a revert

The History tables show how the data looked at an earlier moment, and nothing is removed.

## Related features

- [The Vault](https://schemavortex.com/vault.html)
- [Four eyes](https://schemavortex.com/four-eyes.html)
- [Open by design](https://schemavortex.com/open-by-design.html)

## See a bad load disappear.

A short live demo: we load bad data, revert the source to the hour before, and the report shows the right figures again.

- [Request a demo](https://schemavortex.com/#contact)
- [See key features →](https://schemavortex.com/from-source-to-insight.html)

---

Markdown version of https://schemavortex.com/point-in-time-revert.html
Site overview for agents: https://schemavortex.com/llms.txt
