Role: Tester  ·  Screen: Data → Restore  ·  Time: a few minutes after snapshots already exist

This page is the clicks. For why known states matter, read Testing with Known Database States.

Before you start

Steps

1

Open Restore

In the console, open Data → Restore, or go to /app/restore.

2

Filter by the tags your tests need

Each row is a tag name and an optional value. Leave Value empty to match every value of that tag. Use + to add another row. All rows must match (AND).

Example: Tag app, Value quemsi. Add Tag use-case, Value checkout if that scenario is tagged separately.

3

Pick the snapshot

You get one card per data item for the selected tag combination: the latest matching version. Cards with newer versions are listed first.

Use the description and tags to tell similar cards apart. Long descriptions and system tags (date, time, flow, db, …) sit behind Show more. A Subset chip means the snapshot is not a full database.

4

Choose the target database

Click Restore. Pick a target from the list (title and database name, with URL and agent underneath). If the target agent is online, Browse on agent opens a live look at that database before you continue.

5

Confirm overwrite

Read the warning: the named database will be overwritten; existing objects are dropped or cleared. Confirm the JDBC URL is the database you intend to wipe. Click Restore and overwrite.

6

Wait on the execution page, then run tests

Quemsi opens the restore execution. When it succeeds, the target is in that tagged state. Run your suite. For the next run, restore again from the same Restore card.

If Restore is empty or a card is disabled

Not this page

Restore a known state

Filter by tags, pick the latest snapshot, overwrite the test database, then run tests.

Open Restore

Next