Role: Developer  ·  Screens: Data timeline → Take Snapshot, then Data → Restore  ·  Time: a few minutes per switch

This page is the clicks. For the story, read Switch Between Schema States for Urgent Tasks. Restore details (target picker, overwrite) match Restore a tagged snapshot.

Tag so Restore can see both states

Restore lists the latest snapshot per data item and tag combination. If every backup uses the same tags, you will only see the newest version there. Park and switch needs different tag values for each state you might return to.

Example for one app database:

Set those tags when you Take Snapshot from the data timeline (they are filled in on Execute Flow). They then show on the timeline and on Restore. You cannot retag a version from Restore.

Before you start

Steps

1

Park the current database

Do this before you restore something else, or the in-progress schema is gone.

  1. Open Data, open this data item, click Take Snapshot, pick the backup flow, click Take Snapshot again.
  2. Set tags, for example app=quemsi and work=feature-wip. Add a short description of where you stopped. Click Execute Flow.
  3. On the timeline, confirm the new version and its tags.
2

Switch to the other state

Open Data → Restore (or /app/restore). Filter Tag work, Value baseline (and app if you use it). Pick the card, choose the same database you develop on, confirm overwrite, wait for the execution to succeed.

Full restore clicks: Restore a tagged snapshot.

3

Do the urgent work

Fix, test, and ship against that restored schema. If that work might matter later, park it too with its own value, for example work=hotfix, before you switch away.

4

Switch back

On Restore, change Value to feature-wip. Restore that card onto the same database. You are back at the parked schema. Continue the feature.

If Restore does not show the state you want

Not this page

Park, switch, switch back

Tag each state with a distinct work value, then Restore between them.

Open Restore

Next