Restore a snapshot across environments
Take a snapshot where the data lives, then restore it onto a database on another agent. The target can be a different SQL engine.
Role: Developer or DBA · Screen: Data → Restore · Time: a few minutes after cloud storage is set up
This page is the clicks. Why teams share states: Share Database States Across Environments. Drive and Storage setup: Configure Cloud Storage.
Why local storage is not enough
Restore only offers a target database if that datasource’s agent can see the snapshot’s Storage name.
- Local storages belong to one agent. Another laptop or server cannot read those files.
- AWS S3 and Azure Blob storages are company-scoped (
agentis empty). Every agent in the company sees the same Storage name and can download the packages over the internet.
Both agents still need network access to that bucket or account, and the credentials the drive uses (including environment variables on the agent host).
Before you start
- A cloud drive and Storage exist. Follow Configure Cloud Storage if they do not.
- The source backup flow writes to that Storage (not a local drive). Tag the snapshot when you Take Snapshot from the timeline: Take a tagged snapshot.
- The target is a writable MySQL, PostgreSQL, SQL Server, or Oracle datasource. It can be a different engine from the snapshot. MongoDB restore is not on this page.
- The target agent is online. Restore runs on that agent.
- Restore overwrites the target database.
- Sharing production-shaped data? Mask in the backup flow first — Mask Columns.
What is restored
A SQL snapshot can be restored onto MySQL, PostgreSQL, SQL Server, or Oracle, including a different engine from the one that created it. The restore dialog says so under the target list, and names the two engines once you pick a different one.
- Tables and rows are written in the target engine’s types.
- On SQL Server, schema
publicis written asdbo. On Oracle,publicanddboare written in the datasource schema, or in the login name when no schema is set. Other schema names stay as they are. - Views, procedures, triggers, and check constraints are skipped. The restore log lists each skip.
- MongoDB snapshots and MongoDB targets are not restored this way.
Steps
Snapshot in the source environment
On the agent that can reach the source database, open that data item’s timeline and click Take Snapshot. Pick the backup flow that writes to the shared cloud Storage. Set tags you will filter on later (for example app=quemsi and env=test) and a description. Wait until the execution succeeds. Clicks: Take a tagged snapshot.
Open Restore
Same company console: Data → Restore or /app/restore. Filter to those tags. Pick the card (latest matching version for that data and tags).
Pick the other environment’s database
Click Restore. The list is not “every database you have.” Each row is a writable SQL database (MySQL, Postgres, SQL Server, or Oracle) whose agent can read this snapshot’s Storage, including a different engine than the snapshot. Type in the box to filter by name, database, agent, or type. The subtitle shows URL, agent, and type—use that to choose the dest agent, not the source one.
If the target agent is online, Browse on agent shows that database before you overwrite it.
Full restore dialog clicks: Restore a tagged snapshot.
Confirm overwrite on the target
Read the database name and JDBC URL. Click Restore and overwrite. The execution runs on the target agent. When it succeeds, that environment has the snapshot.
If the target database is missing from the list
- The snapshot was written to a local storage. Re-run backup to the cloud Storage, or the dest agent will never see those files.
- The target is marked read-only.
- The dest agent is in another company, or is offline when you try to run (browse and execute need it online).
- The dest host cannot reach S3/Azure, or drive env vars are missing there — see cloud storage troubleshooting.
Not this page
- Promote lookup tables without wiping transactional data — Migrate Config and Reference Data.
- Same machine, switch schemas for an interruption — Park work and switch.
- Repeat restore for a test suite on one database — tester restore guide.
Restore into another environment
Backup to company cloud storage, then pick the dest agent’s database on Restore.
Open Restore