FlareDeskDocs

Snapshots

Backup and restore your binding data

Snapshots let you create backups of your local binding data - D1 databases, KV namespaces, and Durable Objects. Easily restore to a known-good state after testing.

Snapshots in FlareDesk

What Can Be Snapshotted

D1 Databases

All tables and data

KV Namespaces

All key-value pairs

Durable Objects

Instance storage data

Creating a Snapshot

  1. 1

    Navigate to Snapshots in the sidebar

  2. 2

    Click "Create Snapshot"

  3. 3

    Select which bindings to include:

  • D1 Databases
  • KV Namespaces
  • Durable Objects
  1. 4

    Enter a name for the snapshot (optional)

  2. 5

    Click "Create"

Restoring a Snapshot

  1. 1

    Select a snapshot from the list

  2. 2

    Click "Restore"

  3. 3

    Choose which bindings to restore

  4. 4

    Confirm the restoration

Warning: Restoring a snapshot will overwrite all current data in the selected bindings. Consider creating a new snapshot first if you want to preserve current state.

Managing Snapshots

View Details

Click a snapshot to view its details: creation date, included bindings, and estimated size.

Delete Individual

Click the delete icon next to a snapshot to remove it.

Delete All

Use "Delete All" to remove all snapshots at once.

Common Use Cases

Before Testing

Create a snapshot before running tests that modify data. Restore afterward to reset.

Known-Good State

Save a "golden" snapshot with test data you can always restore to.

Share Development Data

Export snapshots to share development data with team members.

Debug Issues

Capture state when a bug occurs so you can reproduce it later.

Tips

Name your snapshots: Use descriptive names like "before-migration" or "test-data-v1" to easily identify them later.
Selective restore: You don't have to restore everything. Choose only the bindings you need to restore.
Size estimates: Check the estimated size before creating large snapshots to manage disk space.

Next Steps

Learn about Tunnel