Import a database
The Import tab copies an existing PostgreSQL database into a Quotura database, server to server. Check connection reports the size, schemas, extensions and anything in the way; Import copies it into a scratch database that replaces yours only if everything succeeds. The connection string is used once and never stored.
Last reviewed
In the console
Open a database, choose Import, paste the source connection string, optionally list schemas (for example public), then Check connection and Import. Where to find the connection string on Heroku, Supabase, Neon, RDS and Railway: the moving guide.
With the API
An admin session or an access token can call:
| Endpoint | Body | Result |
|---|---|---|
POST /api/orgs/:org/databases/:id/import/check | { sourceUrl, schemas? } | { ok, sizeBytes, postgres, extensions, schemas, problems } |
POST /api/orgs/:org/databases/:id/import | the same | 202, then the database is RESTORING until done |
GET /api/orgs/:org/databases/:id | lastImport: { state, at, from, error } |
Rules
- Sources up to Postgres 16; extensions must be ones Quotura offers; the data must fit your plan's storage.
- Users, passwords and grants are not copied: your app uses the Quotura database's own credentials.
- Private and internal network addresses are refused, and the copy uses TLS unless the string says
sslmode=disable. - Each org can run 30 checks an hour and 6 imports a day.