API Key Required

Enter your x-api-key to continue

SPAQ

Dashboard

No test runs yet. Create your first scan.

Editing existing run

Target

Test Types *

Load Test Config

Security Report

Open in new tab

Test is still running…

Sitemap & Access Map

Scan History

Comparison

DB Migration

Migrate Supabase from cloud to self-hosted. Run each phase in order.

Migration Pipeline

Run each step in order. Export/Scan first, then manually trigger Import when ready.

1 Schema Tables, functions, triggers, RLS policies, indexes
Step 1 — Export
pg_dump schema to temp file on server
Step 2 — Import
psql schema file into target database
✅ Schema applied to target
2 Data All rows from public tables in batches of 500
Step 1 — Scan Source
Count tables and rows before migrating
tables  ·  total rows
Step 2 — Export SQL (optional)
pg_dump data-only → downloadable .sql file
Step 3 — Import to Target
Batch-copy rows directly from source to target
Table Progress
3 Storage Files and buckets from Supabase Storage
Step 1 — Scan Source
List all buckets and files before migrating
bucket(s)  ·  files
Step 2 — Import
Download from source and upload to target
Bucket Progress
4 Verify Row count comparison between source and target
TableSourceTarget
🎉 All tables match — migration complete! Update your env vars to point to the new Supabase instance.

Schema Migration

Exports schema from source using pg_dump and imports to target using psql.

Prerequisite: postgresql-client must be installed on this server (apt install -y postgresql-client).
Export + Import Schema
Tables, RLS policies, functions, triggers, indexes
✅ Schema migrated successfully. Proceed to

Data Migration

Migrates all rows from public tables in batches of 500.

Migrate All Tables
✅ Data migrated. Proceed to

Storage Migration

Downloads all files from source Supabase Storage and uploads to target.

Migrate Storage Buckets
✅ Storage migrated. Proceed to

Verify Migration

Compares row counts between source and target for all public tables.

Row Count Comparison
Table Source Target
🎉 All tables match. Migration is complete! Update your env vars to point to the new Supabase instance.

Proof of Concept — Data Exposure

Sending live request to target...

Raw Output