Skip to content
MyAppBuilder
BetaGuide

Data backups and restore

A data snapshot saves every record of your app's test data or live data at one moment, so you can bring that data back later. Snapshots are in beta .

Beta — ready to use, but some details may still change.

A data snapshot saves every record of your app's test data or live data at one moment, so you can bring that data back later. Snapshots are in beta.

Restoring an app version does not restore data, and restoring data does not change the app. Versions (Undo, version history, publishing rollback) are about pages, tables, workflows and settings. Snapshots are about the records your users created.

Who is responsible for what

Where the data livesWho backs it up
Tables stored by MyAppBuilder (the default)You can take snapshots here and restore them. The MyAppBuilder service additionally relies on its database provider's backups (point-in-time recovery) for disaster recovery of the whole platform — that is not a per-app restore you can trigger.
Tables stored in your own database (PostgreSQL / Supabase connected under Data → Sources)You. MyAppBuilder never copies rows out of a customer database, so these tables are not in snapshots. Use your provider's backups (Supabase backups / PITR, Neon branches, pg_dump…).
Uploaded files (photos, signatures, attachments)Snapshots list the files that existed, but don't copy their contents. Files stay in storage until they are deleted.

Take a snapshot

  1. Open Data, select any table and the Records tab.
  2. Open the Data menu → Data backups….
  3. Pick Test data or Live data (live is for admins and owners), add an optional label and click Take snapshot.

A snapshot contains every record of every table that MyAppBuilder stores, the app version it was taken from, and a checksum. It is stored privately: it is never reachable by a link, and only admins can download it.

Restore into test data

Restore to test replaces the test records of the tables in the snapshot with the snapshot's records. You can restore a live snapshot into test data to investigate a problem safely — record ids are regenerated and links between records are rewritten so they point to the restored copies. Links to records that weren't in the snapshot are cleared.

Before every restore, a snapshot of the data being replaced is saved automatically ("Before restore"), so a restore can itself be undone.

  • Restores don't run workflows (no emails, no notifications).
  • Tables you deleted from the app since the snapshot are reported and skipped; restoring never changes the app's tables, pages or workflows.
  • Fields that no longer exist stay in the restored records but aren't shown.

Restore live data

Replacing live data is never automatic. It needs:

  • the admin or owner workspace role,
  • a plan with production publishing and rollback,
  • typing the app's slug to confirm.

Your users see the restored data immediately. A "Before restore" snapshot of the live data is saved first.

Retention and limits

  • Snapshots are kept for 30 days (or your plan's version-history period when shorter).
  • The 10 newest manual snapshots and the 5 newest "Before restore" snapshots are kept; older ones are deleted with their archive.
  • A snapshot holds at most 50,000 records and 50 MB compressed — use Export CSV per table for larger data.

For operators (self-hosting)

The platform database itself (DATABASE_URL, e.g. Neon or Supabase) must have provider backups enabled — point-in-time recovery or daily backups depending on the plan. In local development (embedded PGlite in .data/pglite) there are no backups: copy the folder while the server is stopped. See docs/DEPLOYMENT.md → "Backups and recovery".

Related

Was this helpful?