Stop writing brittle hand-crafted SQL export scripts. TenantPorter parses your schema DAG, enforces write-freezes, packages records & files into encrypted .tpbundle archives, and verifies zero foreign tenant records leaked.
Simulate moving a VIP tenant (Acme Corp, ID: tenant_acme_42) out of a shared multi-tenant database to a dedicated private cluster.
The Tenant Map DSL
Define ownership predicates once. TenantPorter compiles the DAG, verifies foreign keys, and redacts credentials automatically.
Tables containing direct tenant_id column.
tenants:
policy: root
key: id
organizations:
policy: direct
tenantKey: tenant_id
Child tables joined through parent foreign keys without tenant_id.
invoices:
policy: related
foreignKey: org_id
parentTable: organizations
Global reference tables safely copied or referenced at target.
plans:
policy: shared
action: copy_catalog
allowlist: [id, name, tier]
Billed per Migration or Engine Subscription
Customer-operated runner executes on your AWS/GCP account. Zero customer data leaves your boundary.
Single enterprise tenant extraction + dry-run verification with architect review.
Self-serve CLI and API for SaaS teams handling recurring enterprise portability.
High-concurrency tenant migration for large multi-tenant platforms.
TenantPorter runs Tarjan's strongly connected components algorithm during schema compilation. If circular dependencies exist, it raises a diagnostic error showing the cycle path, allowing engineers to declare nullable deferred foreign key boundaries.
After importing into the destination database, the Portability Verifier executes an exhaustive isolation audit. It scans all imported rows across every table and asserts that 100% of rows contain either the target tenant_id or are approved catalog reference records. If a single foreign ID is found, the transaction is immediately aborted.
No. Only the specific tenant being migrated is placed in maintenance mode via the Write Freeze Adapter. All other 12,000+ tenants continue writing and reading without interruption.